
        /* 轮播容器样式 - 核心修改：改为响应式 */
        .carousel-container {
            /* 关键修改：使用最大宽度+百分比宽度实现自适应 */
           
            width: 100%; /* 占屏幕宽度的95% */
            height: auto; /* 高度自动适应 */
            /* 保持宽高比的关键：使用padding-top实现固定比例 */
            padding-top: 33.33%; /* 400/1200 = 33.33%，保持16:9左右的比例 */
            margin:  auto;
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* 轮播图片列表 - 核心修改：绝对定位填充容器 */
        .carousel-list {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            transition: transform 0.5s ease-in-out; /* 核心过渡动画 */
        }

        /* 轮播项样式 */
        .carousel-item {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        /* 轮播图片样式 */
        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* 轮播内容覆盖层（可选） */
        .carousel-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #fff;
            background-color: rgba(0, 0, 0, 0.2);
            padding: 0 20px; /* 移动端内边距 */
            text-align: center;
        }

        /* 切换按钮样式 */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(0, 0, 0, 0.0);
            color: #fff;
            border: none;
            border-radius: 50%;
            font-size: 50px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background-color 0.3s;
            z-index: 10;
            /* 移动端按钮适配 */
            width: clamp(30px, 4vw, 40px);
            height: clamp(30px, 4vw, 40px);
        }

        .carousel-btn:hover {
            color: rgba(46, 125, 50, 0.9);
        }

        .prev-btn {
            left: 20px;
            /* 移动端调整按钮位置 */
            left: clamp(10px, 2vw, 20px);
        }

        .next-btn {
            right: 20px;
            /* 移动端调整按钮位置 */
            right: clamp(10px, 2vw, 20px);
        }

        /* 指示器样式 */
        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
            /* 移动端调整间距 */
            gap: clamp(8px, 1vw, 10px);
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
            /* 移动端指示器大小适配 */
            width: clamp(10px, 1.5vw, 12px);
            height: clamp(10px, 1.5vw, 12px);
        }

        .indicator.active {
            background-color: #2e7d32;
            transform: scale(1.2);
        }

        /* 适配你的大赛按钮样式（可选） */
        .btn-group {
            margin-top: 30px;
            display: flex;
            gap: 20px;
            /* 移动端按钮换行 */
            flex-wrap: wrap;
            justify-content: center;
            gap: clamp(10px, 2vw, 20px);
        }

        .custom-btn {
            padding: 10px 25px;
            background-color: #2e7d32;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
            /* 移动端按钮适配 */
            padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 25px);
            font-size: clamp(20px, 2vw, 22px);
        }

        .custom-btn:hover {
            background-color: #1b5e20;
        }

        /* 文字大小响应式适配 */
        .carousel-content h1 {
            color: #2e7d32;
            font-size: clamp(20px, 4vw, 36px);
            margin-bottom: 10px;
        }

        .carousel-content p {
            color: #333;
            font-size: clamp(14px, 2vw, 18px);
            margin-bottom: 20px;
        }

        /* 小屏幕优化 */
        @media (max-width: 768px) {
            .carousel-container {
                margin: 92px auto; /* 移动端减少上下间距 */
                border-radius: 4px; /* 移动端圆角变小 */
            }
            
            .carousel-content {
                padding: 0 15px;
            }
        }
		
	.welcome-1-indexcomponents-mod4
	{background: #F6F9F7; padding-top: 30px ;}
		
		 /* 容器整体样式   产品 */
        .category-container {
            width: 100%;
            max-width: 1400px;
            margin: 10px auto;
            padding: 0px;
			
        }

        /* 分类标签栏 */
        .category-tabs {
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid #e5e5e5;
            margin-bottom: 30px;
            flex-wrap: wrap; /* 适配小屏幕标签换行 */
        }

        .tab-item {
            padding: 12px 30px;
            font-size: 16px;
            color: #666;
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
            background: none;
            border: none;
            margin: 0 5px; /* 标签间距 */
        }

        .tab-item.active {
            color: #2e7d32;
            border-bottom-color: #2e7d32;
            font-weight: 600;
        }

        .tab-item:hover {
            color: #2e7d32;
        }

        /* 产品展示区域 */
        .product-slider-wrapper {
            position: relative;
            overflow: hidden;
        }

        .product-slider {
            display: flex;
            transition: transform 0.5s ease;
            gap: 24px;
        }

        .product-card {
            flex: 0 0 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        /* 隐藏非当前分类的卡片 */
        .product-card.hidden {
            display: none;
            opacity: 0;
        }

        .product-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .product-title {
            font-size: 14px;
            color: #333;
            line-height: 1.4;
        }

        /* 左右滑动按钮 */
        .slide-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #e5e5e5;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: all 0.3s ease;
        }

        .slide-btn:hover {
            background: #2e7d32;
            color: #fff;
        }

        .prev-btn {
            left: 20px;
        }

        .next-btn {
            right: 20px;
        }

        /* 无数据提示 */
        .empty-tip {
            text-align: center;
            padding: 50px 0;
            color: #999;
            font-size: 16px;
            display: none;
        }

        /* 响应式适配 */
        @media (max-width: 768px) {
            .product-card {
                flex: 0 0 240px;
            }
            .tab-item {
                padding: 10px 20px;
                font-size: 14px;
                margin: 5px 0;
            }
            .prev-btn {
                left: 20px;
            }
            .next-btn {
                right: 20px;
            }
        }