.product-details {
    background-image: url('../images/product-bj.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* background-color: #f8fafd; */
    /* background: linear-gradient(0deg, #f8fafd 1%, #fff 99%); */
}

.product-details .section-des {
    margin-bottom: 0;
}

/* 轮播容器样式 */
.product-carousel {
    position: relative;
    width: 100%;
    height: 560px;
    perspective: 1500px;
    margin: 10px auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.23, 1, 0.320, 1);
}

.carousel-item {
    position: absolute;
    width: 500px;
    height: 480px;
    left: 50%;
    top: 50%;
    margin-left: -250px;
    margin-top: -240px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0.9;
    filter: blur(1px);
    transform: scale(0.85);
}

.carousel-item.active:hover {
    transform: scale(1.05);
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    filter: blur(0);
}

.carousel-item.prev {
    transform: scale(0.9) translateX(-280px) translateZ(-100px);
    z-index: 4;
}

.carousel-item.next {
    transform: scale(0.9) translateX(280px) translateZ(-100px);
    z-index: 4;
}

.carousel-item.far-prev {
    transform: scale(0.8) translateX(-500px) translateZ(-200px);
    opacity: 0.4;
    z-index: 3;
}

.carousel-item.far-next {
    transform: scale(0.8) translateX(500px) translateZ(-200px);
    opacity: 0.4;
    z-index: 3;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.carousel-item.active .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2857B3;
}

.product-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.product-detail-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.product-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #2857B3;
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #2857B3;
    font-size: 0.9rem;
    width: fit-content;
}

.product-detail-btn:hover {
    background: transparent;
    color: #2857B3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(57, 127, 255, 0.3);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.carousel-dot {
    width: 25px;
    height: 8px;
    border-radius: 10px;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #2857B3;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: #2857B3;
    color: white;
    box-shadow: 0 8px 20px rgba(57, 127, 255, 0.3);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

@media (max-width: 768px) {
    .product-carousel {
        height: 450px;
    }

    .carousel-item {
        width: 280px;
        height: 420px;
        margin-left: -140px;
        margin-top: -210px;
    }

    .carousel-item.prev {
        transform: scale(0.9) translateX(-180px) translateZ(-100px);
    }

    .product-content p {
        line-height: 1.2;
    }

    .carousel-item.next {
        transform: scale(0.9) translateX(180px) translateZ(-100px);
    }

    .carousel-item.far-prev {
        transform: scale(0.8) translateX(-300px) translateZ(-200px);
    }

    .carousel-item.far-next {
        transform: scale(0.8) translateX(300px) translateZ(-200px);
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .product-image {
        height: 120px;
    }

    .section-title {
        font-size: 2rem;
    }
}