
    /* 整体外层，按钮不覆盖跑马灯 */
    .carousel-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1200px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }
    /* 按钮样式 - 增大图标 */
    .nav-btn {
        flex: 0 0 auto;
        background: rgba(255,255,255,0.8);
        border: none;
        font-size: 32px;
        cursor: pointer;
        padding: 12px 16px;
        margin: 0 8px;
        border-radius: 4px;
        z-index: 2;
        transition: all 0.3s;
    }
    .nav-btn:hover {
        background: rgba(255,255,255,0.9);
        transform: scale(1.1);
    }

    /* 跑马灯可滚动区域 */
    .products-wrapper {
        flex: 1;
        overflow: hidden;
        position: relative;
        height: 160px;
    }
    .products {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        will-change: transform;
        transition: transform 0.5s ease;
    }
    .product {
        flex: 0 0 auto;
        width: 160px;
        margin-right: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center; /* 修改为居中 */
        align-items: center;
        height: 100%; /* 添加高度100% */
    }
    .product a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        text-decoration: none;
    }
    .product img {
        display: block;
        width: 115px;
        height: 115px;
        border-radius: 8px;
        transition: transform 0.3s;
        object-fit: contain;
        margin: 0 auto; /* 确保图片居中 */
    }
    .product img:hover {
        transform: scale(1.05);
    }
    .product-title {
        font-size: 1em;
        margin: 8px 0 0;
        color: #333;
        font-weight: 600;
        text-align: center;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 3em;
        width: 100%;
        padding: 0 5px;
        display: flex;
        align-items: center;
        justify-content: center; /* 标题也居中 */
    }
    
    /* 中等屏幕响应式优化 */
    @media (max-width: 1300px) {
        .carousel-container {
            width: 100%;
            padding: 0 20px;
        }
        .product {
            width: 120px;
            margin-right: 15px;
        }
        .product img {
            width: 100px;
            height: 100px;
        }
    }
    
    /* 平板和小屏幕电脑 */
    @media (max-width: 1024px) {
        .products-wrapper {
            height: 150px;
        }
        .product {
            width: 100px;
            margin-right: 15px;
        }
        .product img {
            width: 90px;
            height: 90px;
        }
    }
    
    /* 移动端响应式优化 */
    @media (max-width: 768px) {
        .carousel-container {
            padding: 0 10px;
        }
        .products-wrapper {
            height: 90px;
        }
        .product {
            width: 80px !important;
            margin-right: 10px !important;
            padding: 0 !important;
            height: 90px;
            display: flex;
            flex-direction: column;
        }
        .product img {
            width: 70px !important;
            height: 70px !important;
            margin-bottom: 5px;
        }
        .product-title {
            font-size: 0.75em;
            height: auto;
            -webkit-line-clamp: 3;
            line-height: 1.3;
            margin-top: 5px;
            padding: 0 2px;
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .nav-btn {
            font-size: 24px;
            padding: 8px 12px;
            margin: 0 4px;
        }
    }

    /* 小屏幕手机特别优化 */
    @media (max-width: 480px) {
        .product {
            width: 70px !important;
            height: 90px;
        }
        .product img {
            width: 60px !important;
            height: 60px !important;
        }
        .product-title {
            font-size: 0.7em;
            line-height: 1.25;
        }
    }
