.product-carousel-wrapper {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
}

.product-carousel-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.2);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.9);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn svg {
    color: #ccc;
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.product-carousel {
    overflow: hidden;
    position: relative;
}

.product-carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item {
    flex: 0 0 calc((100% - 90px) / 7);
    min-width: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-6px);
}

.product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.product-item:hover .product-image img {
    transform: scale(1.04);
}

.product-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: #333;
    transition: color 0.3s ease;
}

.product-item:hover .product-title {
    color: #007646;
}

/* 响应式设计 */
@media (max-width: 1500px) {
    .product-carousel-container {
        max-width: 1400px;
    }
}

@media (max-width: 1400px) {
    .product-carousel-container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .product-item {
        flex: 0 0 calc((100% - 45px) / 4);
    }
    .product-image {
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 992px) {
    .product-carousel-container {
        padding: 0 50px;
    }

    .product-item {
        flex: 0 0 calc((100% - 30px) / 3);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .product-carousel-container {
        padding: 0 50px;
    }

    .product-item {
        flex: 0 0 calc((100% - 15px) / 2);
    }

    .product-carousel-track {
        gap: 15px;
    }

    .product-image {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 576px) {
    .product-carousel-wrapper {
        padding: 40px 0;
    }

    .product-carousel-container {
        padding: 0 35px;
    }

    .product-item {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
    }

    .carousel-btn svg {
        width: 30px;
        height: 30px;
    }

    .carousel-btn-prev {
        left: 0;
    }

    .carousel-btn-next {
        right: 0;
    }

    .product-title {
        font-size: 14px;
    }

    .product-image {
        aspect-ratio: 4 / 5;
    }
}
