.product-center-page {
    padding-top: 60px;
    background: #ffffff;
    color: #1e1e1e;
    font-family: Source Han Sans SC;
}

.product-section {
    padding: 60px 0;
}
.product-section.product-overview {
    padding: 0;
    display: flex;
    align-items: center;
}
.section-header h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 40px;
}

.product-hero {
    position: relative;
    height: 41.7vw;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 120px 0 90px;
    overflow: hidden;
}

.product-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.0) 100%);
}

.product-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 620px;
}

.product-hero .hero-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-hero .hero-title {
    font-size: 46px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.product-hero .hero-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.9;
}

.product-categories .category-grid {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    justify-content: center;
    gap: 43px;
    /* padding: 0 150px; */
    flex-wrap: wrap;
}

/* 为 product7 和 product8 设置每行最多3个的布局 */
.category-grid-max-3 {
    justify-content: flex-start !important;
}

.category-grid-max-3 .category-card {
    flex: 0 0 calc(33.333% - 29px) !important;
    max-width: calc(33.333% - 29px) !important;
}

/* 当最后一行只有2个时，让它们各占50%宽度 */
.category-grid-max-3 .category-card:nth-last-child(-n+2):nth-child(3n+1) {
    flex: 0 0 calc(50% - 21.5px) !important;
    max-width: calc(50% - 21.5px) !important;
}

.category-grid-max-3 .category-card:nth-last-child(-n+2):nth-child(3n+1) ~ .category-card {
    flex: 0 0 calc(50% - 21.5px) !important;
    max-width: calc(50% - 21.5px) !important;
}

.category-card {
    background: #F9F7F2;
    border-radius: 9px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 129px;
    box-sizing: border-box;
    overflow: hidden;
    flex: 1;
    padding-right: 10px;
    box-sizing: border-box;
    max-width: 350px;
    min-width: 230px;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.category-card .card-inner {
    display: flex;
    align-items: center;
    text-align: left;
    height: 100%;
}

.category-card .card-image img {
    max-width: 129px;
    height: 100%;
}

.category-card .card-title {
    margin-top: 12px;
    font-size: 15px;
    font-weight: bold;
    color: #3B382D;
    font-family: Source Han Sans SC;
}

.product-overview {
    position: relative;
    padding: 90px 0;
    color: #fff;
    overflow: hidden;
    height: 19.5vw;
    box-sizing: border-box;
}

.product-overview .overview-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    /* filter: brightness(0.65); */
    /* transform: scale(1.02); */
}

.product-overview .overview-inner {
    position: relative;
    /* max-width: 1100px; */
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.product-overview .section-title {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.8px;
    margin-bottom: 40px;
}

.product-overview .overview-text {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    color: white;
    font-weight: 500;
}

.product-specs {
    border-bottom: 1px solid #DEDEDE;
    margin-left: 150px !important;
    margin-right: 150px !important;
    margin: 0 auto;
}

.product-specs .container-box{
    padding: 0 !important;
}
.product-specs .spec-grid {
    display: flex;
    justify-content: center;
    gap: 43px;
}

.spec-card {
    background: #F9F7F2;
    border-radius: 14px;
    padding: 24px 35px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 129px;
    box-sizing: border-box;
    flex: 1;
    max-width: 400px;
}

.spec-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 20px;
}

.spec-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.spec-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 6px;
}

.spec-desc {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.product-stories .stories-desc {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.7;
    /* max-width: 900px; */
    margin: 0 auto 26px auto;
    text-align: center;
}

.stories-swiper-wrapper {
    position: relative;
    padding: 0 230px;
}

.stories-swiper {
    padding: 6px 0 14px 0;
    width: 100%;
    overflow: hidden;
}

.stories-swiper .swiper-wrapper {
    display: flex;
}

.stories-swiper .swiper-slide {
    flex-shrink: 0;
    height: auto;
}

.stories-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 43px;
    height: 43px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 10;
    background: transparent;
    padding: 0;
}

.stories-nav.prev {
    left: 150px;
}

.stories-nav.next {
    right: 150px;
}

.stories-nav:hover:not(.disabled) {
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.stories-nav.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.stories-nav.disabled img {
    opacity: 0.5;
}

.stories-nav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.story-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    height: 100%;
    display: flex;
}

.story-card .story-image {
    width: 100%;
    height: 100%;
    display: flex;
}

.story-card .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-center-page .container-box {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 150px;
}

@media (max-width: 1199px) {
    .product-center-page .container-box {
        padding: 0 80px;
    }
    .product-hero {
        min-height: 460px;
        padding: 100px 0 70px;
    }
    .product-hero .hero-title {
        font-size: 40px;
    }
    .product-categories .category-grid {
        padding: 0 80px;
    }
    .product-specs {
        margin-left: 80px !important;
        margin-right: 80px !important;
    }
    .stories-swiper-wrapper {
        padding: 0 150px;
    }
}

@media (max-width: 992px) {
    .product-center-page .container-box {
        padding: 0 40px;
    }
    .product-section {
        padding: 60px 0;
    }
    .section-header h2 {
        font-size: 24px;
        margin-bottom: 35px;
    }
    .product-categories .category-grid {
        flex-wrap: wrap;
        gap: 30px;
        padding: 0;
    }
    .category-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 0;
    }
    /* product7/8 在 tablet 也保持每行最多3个 */
    .category-grid-max-3 .category-card {
        flex: 0 0 calc(33.333% - 20px) !important;
        max-width: calc(33.333% - 20px) !important;
    }
    /* tablet 上最后一行2个各占50% */
    .category-grid-max-3 .category-card:nth-last-child(-n+2):nth-child(3n+1) {
        flex: 0 0 calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
    }
    .category-grid-max-3 .category-card:nth-last-child(-n+2):nth-child(3n+1) ~ .category-card {
        flex: 0 0 calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
    }
    .product-specs {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0;
    }
    .product-specs .spec-grid {
        flex-wrap: wrap;
        gap: 30px;
    }
    .spec-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 0;
    }
    .product-hero {
        min-height: 400px;
        padding: 90px 0 70px;
    }
    .product-hero .hero-title {
        font-size: 34px;
    }
    .product-overview {
        padding: 70px 40px;
    }
    .product-overview .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .product-overview .overview-text {
        font-size: 14px;
    }
    .stories-swiper-wrapper {
        padding: 0 80px;
    }
    .stories-nav {
        width: 42px;
        height: 42px;
    }
    .stories-nav.prev {
        left: 20px;
    }
    .stories-nav.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .product-center-page .container-box {
        padding: 0 20px;
    }
    .product-center-page {
        padding-top: 50px;
    }
    .product-section {
        padding: 40px 0;
    }
    .section-header h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .product-hero {
        min-height: 300px;
        height: auto;
        padding: 60px 0 40px;
    }
    .product-hero .hero-content {
        max-width: 100%;
        padding: 0;
    }
    .product-hero .hero-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    .product-hero .hero-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    .product-hero .hero-subtitle {
        font-size: 14px;
    }
    .product-categories .category-grid {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }
    .category-card {
        height: auto;
        min-height: 100px;
        padding: 15px;
    }
    /* product7/8 在移动端每行1个 */
    .category-grid-max-3 {
        flex-direction: column;
    }
    .category-grid-max-3 .category-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .category-card .card-image img {
        max-width: 80px;
        height: auto;
    }
    .category-card .card-title {
        font-size: 14px;
        margin-top: 0;
    }
    .product-overview {
        padding: 50px 20px;
        height: auto;
        min-height: 300px;
    }
    .product-overview .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .product-overview .overview-text {
        font-size: 14px;
        line-height: 1.7;
        padding: 0;
    }
    .product-specs {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0;
    }
    .product-specs .spec-grid {
        flex-direction: column;
        gap: 20px;
    }
    .spec-card {
        align-items: flex-start;
        padding: 20px;
        height: auto;
        min-height: 100px;
    }
    .spec-icon img {
        width: 40px;
        height: 40px;
    }
    .spec-content {
        margin-left: 15px;
    }
    .spec-title {
        font-size: 15px;
        margin-bottom: 5px;
    }
    .spec-desc {
        font-size: 13px;
        line-height: 1.5;
    }
    .product-stories .stories-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        padding: 0;
    }
    .stories-swiper-wrapper {
        padding: 0 50px;
    }
    .stories-nav {
        width: 36px;
        height: 36px;
    }
    .stories-nav.prev {
        left: 10px;
    }
    .stories-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .product-center-page .container-box {
        padding: 0 15px;
    }
    .product-center-page {
        padding-top: 40px;
    }
    .product-section {
        padding: 30px 0;
    }
    .section-header h2 {
        font-size: 18px;
        margin-bottom: 25px;
        letter-spacing: 0.5px;
    }
    .product-hero {
        min-height: 250px;
        padding: 50px 0 30px;
    }
    .product-hero .hero-content {
        padding: 0;
    }
    .product-hero .hero-title {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    .product-hero .hero-label {
        font-size: 10px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }
    .product-hero .hero-subtitle {
        font-size: 13px;
    }
    .product-categories .category-grid {
        gap: 15px;
        padding: 0;
    }
    .category-card {
        min-height: 90px;
        padding: 12px;
        border-radius: 8px;
        width: 100%;
    }
    .category-card .card-image img {
        max-width: 70px;
    }
    .category-card .card-title {
        font-size: 13px;
    }
    .product-overview {
        padding: 40px 15px;
        min-height: 250px;
    }
    .product-overview .section-title {
        font-size: 18px;
        margin-bottom: 25px;
        letter-spacing: 0.5px;
    }
    .product-overview .overview-text {
        font-size: 13px;
        line-height: 1.6;
        padding: 0;
    }
    .product-specs {
        padding: 0;
    }
    .product-specs .spec-grid {
        gap: 15px;
    }
    .spec-card {
        padding: 15px;
        min-height: 90px;
        border-radius: 10px;
    }
    .spec-icon img {
        width: 36px;
        height: 36px;
    }
    .spec-content {
        margin-left: 12px;
    }
    .spec-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .spec-desc {
        font-size: 12px;
        line-height: 1.4;
    }
    .product-stories .stories-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 18px;
        padding: 0;
    }
    .stories-swiper-wrapper {
        padding: 0 45px;
    }
    .stories-nav {
        width: 32px;
        height: 32px;
    }
    .stories-nav.prev {
        left: 8px;
    }
    .stories-nav.next {
        right: 8px;
    }
}