.product-list-hero {
    min-height: 250px;
    background: #18222b url('../img/banner/banner-cnc-automotive-bearings.webp') center 58% / cover;
}

.product-list-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 19, 27, .62);
}

.product-sidebar {
    position: static;
}

.product-sidebar-section {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.product-sidebar-section:first-child {
    padding-top: 0;
}

.product-sidebar-title {
    margin-bottom: .75rem;
    font-size: 1rem;
}

.product-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem 0;
    color: var(--bs-body-color);
    font-size: .875rem;
    text-decoration: none;
}

.product-sidebar-link:hover,
.product-sidebar-link:focus,
.product-sidebar-link.active {
    color: var(--bs-primary);
}

.latest-product {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: .6rem 0;
    color: var(--bs-body-color);
    text-decoration: none;
}

.latest-product img {
    width: 64px;
    height: 64px;
    border: 1px solid var(--bs-border-color);
    background: #fff;
    object-fit: contain;
}

.latest-product span {
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.35;
}

.product-contact-panel {
    position: relative;
    isolation: isolate;
    min-height: 245px;
    padding: 1.5rem;
    overflow: hidden;
    background: #15232d url('../img/factory/automated-machining-line.webp') center / cover;
    color: #fff;
}

.product-contact-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 19, 27, .52), rgba(10, 19, 27, .94));
}

.product-list-item {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.product-list-item:first-child {
    padding-top: 0;
}

.product-list-thumb {
    width: 200px;
    height: auto;
    border: 1px solid var(--bs-border-color);
    background: #fff;
}

.product-list-thumb img {
    width: 100%;
    height: auto;
    display: block;
    padding: .75rem;
}

.product-list-copy {
    min-width: 0;
}

.product-list-copy h2 {
    margin-bottom: .45rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.product-list-copy p {
    font-size: .9rem;
    line-height: 1.6;
}

.product-detail-page .product-list-results .product-list-item:not(:first-child) {
    display: none;
}

.product-detail-page .product-list-item {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
}

.product-detail-page .product-list-thumb {
    width: 100%;
    height: auto;
    max-width: 620px;
}

.product-detail-page .product-list-copy h2 {
    display: none;
}

.related-products-section,
.related-news-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bs-border-color);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-product {
    display: block;
    color: var(--bs-body-color);
    text-decoration: none;
}

.related-product-image {
    aspect-ratio: 1.65 / 1;
    border: 1px solid var(--bs-border-color);
    background: #fff;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    padding: .5rem;
    object-fit: contain;
    transition: transform .35s ease;
}

.related-product:hover .related-product-image img {
    transform: scale(1.04);
}

.related-product-title {
    margin: .75rem 0 0;
    font-size: .95rem;
    line-height: 1.45;
}

.related-news-list {
    border-top: 1px solid var(--bs-border-color);
}

.related-news-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
    text-decoration: none;
}

.related-news-date {
    color: var(--bs-primary);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
}

.related-news-title {
    margin-bottom: .25rem;
    font-size: 1rem;
    line-height: 1.45;
}

.related-news-summary {
    margin-bottom: 0;
    color: var(--bs-secondary-color);
    font-size: .875rem;
    line-height: 1.55;
}

.blog-list-page .product-list-results,
.blog-detail-page .product-list-results,
.faq-page .product-list-results,
.download-page .product-list-results,
.video-page .product-list-results,
.contact-page .product-list-results {
    display: none;
}

.download-page .faq-list,
.video-page .faq-list {
    display: none;
}

.contact-page .download-list {
    display: none;
}

.download-page .product-sidebar,
.video-page .product-sidebar,
.contact-page .product-sidebar {
    display: none;
}

.download-page .row > aside.col-lg-3,
.video-page .row > aside.col-lg-3,
.contact-page .row > aside.col-lg-3 {
    display: none;
}

.download-page .row > .col-lg-9,
.video-page .row > .col-lg-9,
.contact-page .row > .col-lg-9 {
    width: 100%;
    flex: 0 0 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 3rem;
}

.contact-details {
    padding-right: 1rem;
}

.contact-detail {
    display: flex;
    gap: .9rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.contact-detail i {
    flex: 0 0 auto;
    color: var(--bs-primary);
    font-size: 1.25rem;
}

.contact-detail h3 {
    margin: 0 0 .25rem;
    font-size: .95rem;
}

.contact-detail p {
    margin: 0;
    color: var(--bs-secondary-color);
    font-size: .875rem;
    line-height: 1.55;
}

.contact-form {
    padding: 1.5rem;
    background: var(--bs-tertiary-bg);
    border-top: 3px solid var(--bs-primary);
}

.contact-map {
    width: 100%;
    height: 360px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.download-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    border-top: 1px solid var(--bs-border-color);
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.download-item-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.download-item-title i {
    flex: 0 0 auto;
    color: var(--bs-primary);
    font-size: 1.25rem;
}

.download-item .btn {
    flex: 0 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.video-card {
    min-width: 0;
}

.youtube-slot {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #18222b center / cover;
}

.youtube-slot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 19, 27, .58);
}

.youtube-slot .video-play {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    color: #fff;
    background: rgba(215, 25, 32, .9);
    font-size: 1.5rem;
}

.youtube-slot iframe {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-title {
    margin: .85rem 0 0;
    font-size: 1rem;
    line-height: 1.45;
}

.video-card-meta {
    margin: .35rem 0 0;
    color: var(--bs-secondary-color);
    font-size: .8rem;
}

.faq-list .accordion-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
}

.faq-list .accordion-button {
    gap: 1rem;
    padding: 1.25rem 0;
    color: var(--bs-body-color);
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    box-shadow: none;
}

.faq-list .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background: transparent;
}

.faq-list .accordion-button::after {
    flex-shrink: 0;
}

.faq-list .accordion-body {
    padding: 0 2.5rem 1.25rem 0;
    color: var(--bs-secondary-color);
    line-height: 1.75;
}

.blog-list {
    border-top: 1px solid var(--bs-border-color);
}

.blog-list-item {
    display: grid;
    grid-template-columns: 180px 92px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
    text-decoration: none;
}

.blog-list-thumb {
    width: 180px;
    height: 110px;
    border: 1px solid var(--bs-border-color);
    background: #fff;
    overflow: hidden;
}

.blog-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-item:hover .blog-list-title {
    color: var(--bs-primary);
}

.blog-list-date {
    color: var(--bs-primary);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
}

.blog-list-title {
    margin-bottom: .35rem;
    font-size: 1.2rem;
    line-height: 1.4;
    transition: color .2s ease;
}

.blog-list-summary {
    margin-bottom: 0;
    color: var(--bs-secondary-color);
    font-size: .9rem;
    line-height: 1.6;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-article-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    margin-bottom: 1.75rem;
    object-fit: cover;
}

.blog-article-body p {
    color: var(--bs-secondary-color);
    line-height: 1.8;
}

.blog-article-body h3 {
    margin-top: 1.75rem;
    margin-bottom: .75rem;
    font-size: 1.25rem;
}

@media (max-width: 767.98px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .related-news-item {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .blog-list-item {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .blog-list-thumb {
        width: 100%;
        max-width: 240px;
        height: 135px;
    }

    .download-item {
        align-items: flex-start;
    }

    .download-list {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-map {
        height: 280px;
    }
}

@media (max-width: 767.98px) {
    .product-list-hero {
        min-height: 220px;
        background-position: 62% center;
    }

    .product-list-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-list-thumb {
        width: 100%;
        max-width: 200px;
    }

    .product-detail-page .product-list-thumb {
        max-width: none;
    }
}

/* ===== mobile navbar fix (shared, extracted from static pages) ===== */
@media (min-width: 992px) {
    .navbar-brand.width-20x { width: 165px; flex: 0 0 165px; }
    .navbar .navbar-nav > .menu-item > .nav-link { font-size: .70rem; padding-left: .3rem; padding-right: .3rem; }
    .navbar .navbar-nav .dropdown-menu .nav-link { font-size: .58rem; }
    .navbar .navbar-nav { gap: 0; }
}

@media (max-width: 767.98px) {
                .navbar .container { flex-wrap: nowrap; }
                .navbar-brand.width-20x { width: 150px !important; flex: 0 1 auto; }
                .navbar-no-collapse-items { position: static !important; margin-left: auto !important; }
                .navbar-no-collapse-items .nav-item { margin-left: 0 !important; margin-right: .45rem !important; }
            }
