/* seemb9 制造商列表页（中间内容对齐 seemb4） */

.mfg-page .mfg-body-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 40px;
}

.mfg-page .not-text-transform,
.mfg-page .not-text-transform * {
    text-transform: none;
}

/* 面包屑与正文区对齐：全宽灰底 + app-container 左右 10px（同 news_list） */
.mfg-page > nav.app-breadcrumb.app-container {
    padding-left: 10px;
    padding-right: 10px;
}

.mfg-breadcrumb {
    margin-bottom: 16px;
}

.mfg-page-head {
    margin-bottom: 16px;
    text-align: center;
}

.mfg-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--cat-text, #333);
    text-align: center;
}

.mfg-toolbar {
    margin-bottom: 24px;
}

.mfg-alpha-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 4px;
    border: 1px solid var(--border-color-light, #dfe4ed);
    overflow: hidden;
}

.mfg-alpha-nav__link {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cat-primary, var(--primary-color, #4066b8));
    text-decoration: none;
    border-radius: 0;
    border-right: 1px solid var(--border-color-light, #dfe4ed);
}

.mfg-alpha-nav__link:visited {
    color: var(--cat-primary, var(--primary-color, #4066b8));
}

.mfg-alpha-nav__link:last-child {
    border-right: none;
}

.mfg-alpha-nav__link:hover {
    background: color-mix(in srgb, var(--cat-primary, var(--primary-color, #4066b8)) 12%, transparent);
    text-decoration: none;
}

.mfg-section {
    margin-bottom: 32px;
    scroll-margin-top: 100px;
}

.mfg-section__letter {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
    transition: color 0.15s ease;
    cursor: default;
}

.mfg-section__letter:hover {
    color: var(--primary-color, var(--cat-primary, #4066b8));
}

.mfg-section__rule {
    height: 1px;
    background: var(--border-color-light, #dfe4ed);
    margin-bottom: 16px;
}

.mfg-name-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mfg-name-grid__cell {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--cat-text, #333);
}

.mfg-name-grid__link {
    color: inherit;
    text-decoration: none;
}

.mfg-name-grid__label {
    display: block;
    min-width: 0;
    word-break: break-word;
}

.mfg-name-grid__link:hover {
    color: var(--primary-color, var(--cat-primary, #4066b8));
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .app-main.mfg-page {
        background: #f5f7fb;
    }

    .mfg-page .mfg-body-inner {
        margin: 0;
        padding: 0 12px 36px;
    }

    .mfg-page > nav.app-breadcrumb.app-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mfg-breadcrumb {
        margin-bottom: 12px;
    }

    .mfg-page-head {
        margin-bottom: 12px;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--border-color-light, #dfe4ed);
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    }

    .mfg-page-title {
        font-size: 22px;
        text-align: center;
    }

    .mfg-toolbar {
        position: sticky;
        top: 0;
        z-index: 120;
        margin: 0 -12px 14px;
        padding: 10px 12px;
        background: rgba(245, 247, 251, 0.94);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(223, 228, 237, 0.9);
    }

    .mfg-alpha-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        margin: 0;
        padding: 2px 0;
        background: transparent;
        border: none;
        border-radius: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mfg-alpha-nav::-webkit-scrollbar {
        display: none;
    }

    .mfg-alpha-nav__link {
        flex: 0 0 auto;
        flex-shrink: 0;
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-right: 1px solid #e5e7eb;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }

    .mfg-alpha-nav__link:hover {
        background: #fff;
        border-color: var(--primary-color, #4066b8);
    }

    .mfg-section {
        margin-bottom: 14px;
        padding: 0;
        background: #fff;
        border: 1px solid var(--border-color-light, #dfe4ed);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
        scroll-margin-top: 68px;
    }

    .mfg-section__letter {
        margin: 0;
        padding: 10px 14px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        color: #fff;
        background: linear-gradient(90deg, var(--primary-color, #4066b8) 0%, #5a7ec8 100%);
        cursor: default;
    }

    .mfg-section__letter:hover {
        color: #fff;
    }

    .mfg-section__rule {
        display: none;
    }

    .mfg-name-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 12px;
    }

    .mfg-name-grid__cell {
        padding: 0;
        border: 1px solid #eef2f7;
        border-radius: 8px;
        background: #fafbfc;
        overflow: hidden;
    }

    .mfg-name-grid__cell:last-child {
        border-bottom: 1px solid #eef2f7;
    }

    .mfg-name-grid__link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 8px;
        font-size: 13px;
        font-weight: 500;
        text-align: center;
        color: #1f2937;
        transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }

    .mfg-name-grid__label {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }

    .mfg-name-grid__link:active {
        background: rgba(64, 102, 184, 0.08);
    }

    .mfg-name-grid__link:hover {
        color: var(--primary-color, #4066b8);
        text-decoration: none;
        background: rgba(64, 102, 184, 0.04);
    }
}

@media (max-width: 575.98px) {
    .mfg-page .mfg-body-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mfg-toolbar {
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 手机端：去掉 A-Z 字母导航栏与标题卡片；H1 保留在 DOM（视觉隐藏）以兼顾移动优先 SEO */
@media (max-width: 991.98px) {
    .mfg-toolbar {
        display: none;
    }

    .mfg-page-head {
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .mfg-page-title {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}
