#manufacturer {
    padding-bottom: 100px;
}

/* 类型切换 */
#manufacturer .Title .changeType {
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* 类型切换移入时 */
#manufacturer .Title .changeType .iconfont-ut:hover {
    color: var(--main-color);
    text-decoration: underline;
}

/* 字母表：跟着滚动。搜索和 Top 是一条，字母均分一行，避免折成残行 */
#manufacturer .mfg-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: 0 0 8px;
    padding: 12px 0 8px;
    background: #fff;
}

#manufacturer .mfg-tools {
    display: flex;
    align-items: stretch;
    margin-bottom: 10px;
}

#manufacturer .mfg-find {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 14px;
    background: #f3f1ee;
    max-width: none;
}

#manufacturer .mfg-find input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    background: transparent;
    color: #222;
    font: inherit;
    font-size: 15px;
    outline: none;
}

#manufacturer .mfg-find:focus-within {
    background: #ebe6e0;
}

#manufacturer .mfg-count {
    flex: none;
    color: #444;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

#manufacturer .mfg-top {
    flex: none;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: var(--main-color);
    color: #fff;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

#manufacturer .mfg-top:hover,
#manufacturer .mfg-top:focus-visible {
    background: var(--main-colorActive);
}

#manufacturer .mfg-top:focus-visible,
#manufacturer .mfg-find input:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

#manufacturer .mfg-empty {
    margin: 24px 0;
    color: #333;
    font-size: 16px;
}

#manufacturer .cot .indexList {
    display: grid;
    grid-template-columns: repeat(27, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#manufacturer .cot .indexList li {
    width: auto;
    height: 32px;
    margin: 0;
    line-height: 32px;
    text-align: center;
}

#manufacturer .cot .indexList li a {
    display: block;
    color: #222;
}

#manufacturer .cot .indexList li:hover,
#manufacturer .cot .indexList li.is-on {
    background-color: var(--main-color);
    border-radius: 0;
}

#manufacturer .cot .indexList li:hover a,
#manufacturer .cot .indexList li.is-on a {
    color: #fff;
}

/* 字母表结束 */


/* 数据列表 标题 */
#manufacturer .cot .imgList > li > a.title {
    scroll-margin-top: 120px;
}

#manufacturer .cot .imgList li>a {
    line-height: 30px;
}

/* 数据列表每条 */
#manufacturer .cot .imgList li .nameBox a {
    width: 25%;
}

#manufacturer .cot .imgList li .nameBox a:hover {
    color: var(--main-color);
}

#manufacturer .cot .imgList li .nameBox a:after {
    /* attr() 函数返回选择元素的属性值。 */
    content: attr(attrData);
    color: var(--main-color);
    margin-left: 3px;
}

/* 图片类型 */
#manufacturer .cot .imgList li .imgBox a {
    width: 190px;
    height: 80px;
    margin-right: 24px;
    overflow: hidden;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    padding: 4px;
}

#manufacturer .cot .imgList li .imgBox a:nth-child(6n) {
    margin-right: 0;
}

#manufacturer .cot .imgList li .imgBox a img {
    width: 90%;
}

#manufacturer .cot .imgList li .imgBox a:hover {
    cursor: pointer;
    box-shadow: -2px 2px 9px rgb(0 0 0 / 10%);
}


/* 小屏时 */
@media screen and (max-width: 1024px) {
    #manufacturer .cot .imgList li .nameBox a {
        width: 100%;
        font-size: 14px;
    }

    #manufacturer .Title .changeType {
        display: none;
    }

    #manufacturer .cot .indexList {
        background-color: #0000001a;
        border-radius: 10px;
        height: 90vh;
        position: fixed;
        top: 5vh;
        right: 0;
        width: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 10px;
        align-items: center;
    }

    #manufacturer .cot .indexList li {
        width: 100%;
        text-align: center;
    }

    #manufacturer .cot .indexList a {
        display: inline-block;
        width: 100%;
    }

}