/* ── 产品列表页公共样式（keyboard / mouse / radio_reception 共用） ── */

[class^="product-group-"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, 28rem);
    justify-content: center;
    gap: 1.1rem;
    grid-column: span 3;
}

[class^="btn-group-"] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: .5rem;
    grid-column: span 3;
}

.section-title {
    margin-bottom: .5rem;
    grid-column: span 3;
    font-size: 2.2rem;
    font-weight: 500;
}

.btn-sub-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-item {
    width: 7rem;
    height: 3.5rem;
    font-size: 1.1rem;
    border-radius: .4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #000;
    background-color: #f3f3f3;
    transition: background-color 0.2s, color 0.2s;
}

.btn-item.active {
    background-color: #4BA9E0;
    color: #fff;
}

.section-group {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 28rem));
    column-gap: 1.1rem;
    row-gap: 8rem;
    justify-content: center;
}

.section-item {
    display: grid;
    grid-template-columns: repeat(auto-fill, 28rem);
    justify-content: center;
    grid-column: span 3;
    column-gap: 1.1rem;
}

.tabs-group {
    position: relative;
    display: flex;
    justify-content: center;
}
