/* seemb6 分类介绍页：参考 seemb4 category_branch，并对齐 categoryAll 版心 */

.category-branch-page .product-box {
    background: #f6f8fb;
    padding: 22px 0 40px;
    min-height: calc(100vh - 260px);
}

.category-branch-page .integratedCircuits {
    width: var(--jq_w1200);
    margin: 0 auto;
}

.category-branch-page .branch-page-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.category-branch-page .crumbs-box.branch-breadcrumb {
    width: 100%;
    line-height: 1.5;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(16, 40, 80, 0.03);
    color: var(--jq_color10);
}

.category-branch-page .branch-breadcrumb a {
    font-size: var(--jq_fs2);
    color: var(--jq_color10);
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-branch-page .branch-breadcrumb a:hover {
    color: var(--jq_color14);
}

.category-branch-page .branch-breadcrumb [aria-current="page"] {
    color: var(--jq_color1);
    font-weight: 500;
}

.category-branch-page .cat-body__breadcrumb-sep {
    color: #999;
}

.category-branch-page .branch-result-line {
    margin: 0;
    padding: 0 2px;
    font-size: var(--jq_fs2);
    line-height: 1.5;
    color: var(--jq_color1);
}

.category-branch-page .branch-result-count {
    margin-left: 6px;
    font-weight: 700;
    color: var(--jq_color14);
}

.category-branch-page .branch-panel {
    margin: 0;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 40, 80, 0.03);
}

.category-branch-page .branch-intro.branch-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 768px) {
    .category-branch-page .branch-intro.branch-panel {
        grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
        column-gap: 36px;
    }
}

.category-branch-page .branch-intro__col--visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.category-branch-page .branch-intro__media {
    flex-shrink: 0;
    width: 100%;
    max-width: 180px;
}

.category-branch-page .branch-intro__img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border: 1px solid #edf0f4;
    border-radius: 4px;
    background: #fafafa;
}

.category-branch-page .branch-intro__img--placeholder {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    margin: 0 auto;
    background: linear-gradient(145deg, #f1f5f9, #e8eef5);
    border: 1px dashed #dfe4ed;
    border-radius: 4px;
}

.category-branch-page .branch-intro__title {
    margin: 0;
    max-width: 220px;
    font-size: var(--jq_fs3);
    font-weight: 700;
    line-height: 1.4;
    color: var(--jq_color1);
    letter-spacing: 0;
}

.category-branch-page .branch-intro__col--content {
    min-width: 0;
    padding-top: 0;
}

@media (min-width: 768px) {
    .category-branch-page .branch-intro__col--content {
        padding-top: 4px;
    }
}

.category-branch-page .branch-intro__desc {
    margin: 0;
    font-size: var(--jq_fs2);
    font-weight: 400;
    line-height: 1.65;
    color: var(--jq_color1);
    text-align: left;
    white-space: pre-line;
    word-break: break-word;
}

.category-branch-page .branch-section__title {
    margin: 0 0 18px;
    padding: 0 0 12px;
    font-size: var(--jq_fs4);
    font-weight: 700;
    line-height: 1.35;
    border-bottom: 2px solid #edf0f4;
    color: var(--jq_color1);
}

.category-branch-page .branch-section__title--parent {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

.category-branch-page .branch-section__title-name {
    font-weight: 700;
    color: var(--jq_color1);
}

.category-branch-page .branch-section__title-total {
    font-weight: 700;
    font-size: var(--jq_fs4);
    color: var(--jq_color14);
}

.category-branch-page .branch-section__title--decor {
    position: relative;
    padding-left: 16px;
}

.category-branch-page .branch-section__title--decor::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 4px;
    height: 1.1em;
    border-radius: 2px;
    background: var(--jq_color14);
}

.category-branch-page .branch-section--subcats .branch-sub-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px 28px;
    margin: 0;
    padding: 20px 0 0;
    border-top: 1px solid #eef1f5;
    list-style: none;
}

@media (min-width: 576px) {
    .category-branch-page .branch-section--subcats .branch-sub-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .category-branch-page .branch-section--subcats .branch-sub-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.category-branch-page .branch-sub-list__item {
    margin: 0;
    padding: 0;
    border: none;
}

.category-branch-page .branch-sub-list__link {
    display: block;
    text-align: left;
    font-size: var(--jq_fs2);
    font-weight: 400;
    line-height: 1.5;
    color: var(--jq_color1);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.category-branch-page .branch-sub-list__link:hover {
    color: var(--jq_color14);
    text-decoration: underline;
}

.category-branch-page .branch-sub-list__count {
    font-weight: 700;
    color: var(--jq_color14);
}

.category-branch-page .branch-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (min-width: 576px) {
    .category-branch-page .branch-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .category-branch-page .branch-product-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.category-branch-page .branch-product-card {
    margin: 0;
    padding: 0;
    background: transparent;
}

.category-branch-page .branch-product-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    height: 100%;
    border-radius: 6px;
    border: 1px solid #edf0f4;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-branch-page .branch-product-card__link:hover {
    border-color: var(--jq_color14);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.category-branch-page .branch-product-card__img-wrap {
    width: 100%;
    max-width: 112px;
    margin: 0 auto 12px;
}

.category-branch-page .branch-product-card__img {
    display: block;
    width: 100%;
    max-height: 112px;
    margin: 0 auto;
    object-fit: contain;
}

.category-branch-page .branch-product-card__img--empty {
    width: 100%;
    aspect-ratio: 1;
    background: #f1f5f9;
    border-radius: 4px;
}

.category-branch-page .branch-product-card__pn {
    margin: 0 0 8px;
    font-size: var(--jq_fs2);
    font-weight: 700;
    line-height: 1.35;
    color: var(--jq_color1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-branch-page .branch-product-card__mfg {
    margin: 0;
    font-size: var(--jq_fs1);
    line-height: 1.35;
    color: var(--jq_color10);
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-branch-page .branch-product-card__price {
    margin: 6px 0 0;
    font-size: var(--jq_fs2);
    line-height: 1.3;
    color: var(--jq_color14);
    font-weight: 700;
}

.category-branch-page .branch-mfg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .category-branch-page .branch-mfg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .category-branch-page .branch-mfg-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.category-branch-page .branch-mfg-grid__cell {
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 6px;
    font-size: var(--jq_fs2);
    line-height: 1.45;
    color: var(--jq_color1);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.category-branch-page .branch-mfg-grid__cell:hover {
    border-color: var(--jq_color14);
    background: #fff;
}

.category-branch-page .branch-mfg-grid__name {
    display: block;
}

.category-branch-page .branch-mfg-grid__link {
    color: inherit;
    text-decoration: none;
}

.category-branch-page .branch-mfg-grid__link:hover {
    color: var(--jq_color14);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .category-branch-page .product-box {
        padding: 12px 12px 28px;
    }

    .category-branch-page .integratedCircuits {
        width: 100%;
    }

    .category-branch-page .branch-panel {
        padding: 18px 14px;
    }

    .category-branch-page .crumbs-box.branch-breadcrumb {
        padding: 6px 14px;
        border-radius: 6px;
    }

    .category-branch-page .branch-section__title {
        font-size: var(--jq_fs3);
    }
}
