section.product-series {
    width: 100%;
    background-color: transparent;
    color: var(--color-on-surface);
    margin: var(--margin-section) 0;
}

.product-series .content {
    padding: 0 var(--padding-side);
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    position: relative;
    flex-direction: column;
}

.product-series h1 {
    font-weight: 700;
    margin-bottom: 0.625rem;
    /* 居中 */
    text-align: center;
}

.product-series h2 {
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .product-series h1 {
        font-size: 1.4rem;
        margin-bottom: 0.625rem;
    }
}

.product-list {
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0;
}

.product-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 220px;
    overflow: hidden;
    align-items: flex-start;
    transition: all 0.3s;
}

@media (max-width: 1200px) {
    .product-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .product-item {
        max-width: 70%;
        width: 300px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

.product-item:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow-hover);
}

.product-item .image {
    width: 100%;
    height: auto;
    overflow: hidden;
    /* 保持比例缩放 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-item .image.loading-box {
    height: 250px;
}


.product-item .image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 缩放中心 */
    object-position: center;
}

.product-item .title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.625rem 0;
    padding: 0 var(--space-3);
    /* 限制单行且末尾省略号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;


}

.product-item .attribute {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0px 0px 0.625rem var(--space-3);
}

.product-item .attribute span.loading-text {
    display: inline-block;
    width: 20px;
}

.product-item .title.loading-text {
    margin: 0.75rem var(--space-3);
    width: 200px;
    height: 27px;
}

.product-item.loading-only .attribute {}
