@charset "utf-8";

/* 家用产品的 CSS Document */
.h-1 h1 {

color: black; /* 默认黑色 */

}

.h-1:hover h1 {

color: #0095e3; /* 鼠标悬停时蓝色 */

}

.h-2 h3 {

color: black; /* 默认黑色 */

}

.h-2:hover h3 {

color: #0095e3; /* 鼠标悬停时蓝色 */
	

}

.h-0 {

height: 10px;

display: block;

width: 100%;

margin: 0;

padding: 0;

}

.h6 {
  color: #000; /* 黑色字体 */
  font-size: 20px; /* 字体较小 */
  line-height: 2.8; /* 增加行距以便阅读 */
  text-align: left; /* 英文左对齐 */
  font-family: "Bookman Old Style", Regular, Geneva, Verdana, sans-serif; /* 适合英文排版的字体 */
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
}



}

/*家用产品的产品总集卡片样式*/
   /* 容器宽度 1400px 居中 */
  .section-titleha {
            font-size: 24px;
            font-weight: bold;
            margin: 40px 0 25px;
            color: #444;
            padding-left: 0;
            position: relative;
        }

        .rowha {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 30px;
            gap: 25px;
        }

        .cardha {
			font-family: "Bookman Old Style", Regular, Geneva, Verdana, sans-serif; /* 适合英文排版的字体 */
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            text-align: center;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            cursor: pointer;
            flex: 1;
            min-width: 300px;
            max-width: 330px;
        }

        .cardha:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(100, 100, 100, 0.2);
        }

        .cardha:hover .card-textha h3 {
            color: #555;
        }

   .cardha img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    /* 缩放至70% */
    transform: scale(0.55);
    transform-origin: center;
}

        .cardha:hover img {
            transform: scale(1.03);
        }

        .card-textha {
            padding: 20px;
            font-size: 12px;
            color: #555;
            line-height: 1.6;
        }

        .card-textha h3 {
            font-size: 12px;
            margin-bottom: 12px;
            color: #333;
            transition: color 0.3s ease;
            font-weight: 600;
        }

        .card-textha .price {
            font-size: 22px;
            color: #e74c3c;
            font-weight: bold;
            margin: 15px 0;
        }

        .card-textha .features {
            text-align: left;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #f0f4f8;
        }

        .card-textha .features li {
            margin-bottom: 8px;
            display: flex;
            align-items: flex-start;
            font-size: 10px;
            color: #666;
        }

        .card-textha .features i {
            color: #888;
            margin-right: 8px;
            margin-top: 4px;
            font-size: 14px;
        }

        .rating {
            color: #f39c12;
            margin: 10px 0;
            font-size: 14px;
        }

        .btn {
            display: inline-block;
            background: transparent;
            color: #666;
            padding: 10px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 15px;
            transition: all 0.3s ease;
            border: 2px solid #e0e0e0;
        }

        .btn:hover {
            background: #555;
            color: white;
            transform: translateY(-2px);
            border-color: #555;
        }

        /* 响应式设计 */
        @media (max-width: 1200px) {
            .rowha {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 2.2rem;
            }
            
            .section-titleha {
                font-size: 22px;
                text-align: left;
            }
            
            .cardha {
                min-width: 100%;
                max-width: 450px;
            }
            
            .cardha img {
                height: 240px;
            }
        }

        @media (max-width: 480px) {
            header h1 {
                font-size: 1.8rem;
            }
            
            header p {
                font-size: 1rem;
                padding: 0 15px;
            }
            
            .card-textha {
                padding: 15px;
            }
            
            .card-textha h3 {
                font-size: 18px;
            }
            
            .cardha img {
                height: 220px;
            }
            
            .btn {
                padding: 9px 20px;
                font-size: 14px;
            }
        }

        /* 产品类别导航 */
        .product-categories {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin: 30px 0;
        }

        .category-btn {
            background: transparent;
            border: 1px solid #ddd;
            padding: 10px 22px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            color: #555;
            font-size: 15px;
        }

        .category-btn:hover, .category-btn.active {
            background: #666;
            color: white;
            border-color: #666;
        }

        /* 页脚 */
      

        .highlight {
            color: #555;
            font-weight: 600;
        }
        
        .stats-bar {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-size: 13px;
            color: #888;
            padding: 0 10px;
        }
        
        .stats-bar div {
            display: flex;
            align-items: center;
        }
        
        .stats-bar i {
            margin-right: 5px;
            font-size: 12px;
        }
        
        .page-description {
            max-width: 800px;
            margin: 30px auto;
            padding: 20px;
            background: #fff;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        }
        
        .page-description h2 {
            color: #444;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .page-description p {
            color: #666;
            line-height: 1.8;
            margin-bottom: 15px;
        }
        
        .section-divider {
            width: 100%;
            height: 1px;
            background: linear-gradient(to right, transparent, #ddd, transparent);
            margin: 40px 0;
        }
.h5 {
      width: 330px;
      
    }


 