.alllist {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

/* 头部导航栏 */
.info-ol-nav {
    width: 100%;
    padding: 20px 10px;
    background-color: #F8F9FA;
    margin-bottom: 20px;
}

.info-ol-nav>ol {
    list-style: none;
    display: flex;
    width: 70%;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
}

.info-ol-nav>ol>li>a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.6);
}

.info-ol-nav>ol>li>a:hover {
    color: #008cff;
}

/* 左侧商品扩展选项列 */
.alllist>.series {
    width: 20%;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.alllist>.series>p {
    font-size: 20px;
    font-weight: bold;
    background-color: #333333;
    color: #FFFFFF;
    padding: 10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alllist>.series>ul>li {
    font-size: 14px;
    padding: 10px 5px;
    background-color: #F7F7F7;
    border-bottom: 1px solid #D9D9D9;
    transition: 0.3s;
}

.alllist>.series>ul>li>a {
    color: #333333;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    width: 100%;
    height: 100%;
}

.alllist>.series>ul>li:hover {
    background-color: #D63031;
}

.alllist>.series>ul>li:hover>a {
    color: #FFFFFF;
    margin-left: 20px;
}

.alllist>.series>ul>li.active {
    background-color: #D63031;
}

.alllist>.series>ul>li.active>a {
    color: #FFFFFF;
}


/* 右侧商品列表列 */
.alllist>.productlist {
    width: 80%;
}

.alllist>.productlist>.productlist-desc {
    font-size: 13px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    background-color: #F7F7F7;
}

.alllist>.productlist>.productlist-list>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: flex-start;
}

.alllist>.productlist>.productlist-list>ul>li {
    width: 23%;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    margin-bottom: 10px;
}

.alllist>.productlist>.productlist-list>ul>li>a {
    color: #333333;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
}

.alllist>.productlist>.productlist-list>ul>li:hover {
    border-color: #FEBD69;
    background-color: #F7F7F7;
}

/* 分页器 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
    user-select: none;
    flex-wrap: wrap;
}

/* 分页链接通用样式 */
.pagination .page-link {
    min-width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
    padding: 0 10px;
}

/* hover 效果 */
.pagination .page-link:hover {
    background: #f5f5f5;
    border-color: #409eff;
    color: #409eff;
}

/* 当前页高亮 */
.pagination .page-link.active {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
}

/* 省略号 */
.pagination .dots {
    padding: 0 6px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

/* 分页按钮通用样式 */
.pagination button {
    min-width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

/* hover 效果 */
.pagination button:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #409eff;
    color: #409eff;
}

/* 当前页高亮 */
.pagination button.active {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
}

/* 禁用状态 */
.pagination button:disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}

/* 跳转输入框 */
.pagination .jump-input {
    width: 50px;
    height: 34px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
}

.pagination .jump-input:focus {
    border-color: #409eff;
}

/* 跳转文字 */
.pagination .jump-text {
    font-size: 14px;
    color: #666;
}

@media screen and (max-width: 980px) {
    .alllist {
        width: 95%;
    }
}

@media screen and (max-width: 720px) {
    .alllist {
        flex-direction: column;
        align-items: center;
    }

    /* 左侧商品扩展选项列 */
    .alllist>.series {
        width: 100%;
        border-radius: 5px;
        overflow: hidden;
        margin-top: 10px;
        order: 2;
    }

    .alllist>.series>ul {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .alllist>.series>ul>li {
        width: 22%;
        font-size: 14px;
        padding: 10px 5px;
        background-color: #F7F7F7;
        border-bottom: 1px solid #D9D9D9;
        transition: 0.3s;
    }

    /* 右侧商品列表列 */

    .alllist>.productlist>.productlist-list>ul>li {
        width: 48%;
        padding: 5px 10px;
        border: 1px solid #D9D9D9;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .alllist>.productlist>.productlist-list>ul>li>a {
        font-size: 12px;
    }


    /* 头部导航栏响应式布局 */
    .info-ol-nav>ol {
        width: 100%;
        font-size: 12px;
    }

    .info-ol-nav>ol>li>a,
    .info-ol-nav>ol>li {
        font-size: 12px;
    }

    /* 分页器响应式样式 */
    .pagination {
        gap: 4px;
    }

    .pagination .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
    }

    .pagination .dots {
        height: 32px;
        font-size: 12px;
    }
}
