/* ==================== Product Stylish Heading ==================== */
.product-section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: left;
    color: #002FA7;
    margin: 20px 0 30px;
    padding-left: 15px;
    position: relative;
}

.product-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #002FA7, #0056b3);
    border-radius: 2px;
}

.product-stylish-heading {
    font-family: 'Cormorant SC', cursive;
    font-size: 3.2em;
    font-weight: 700;
    color: #013DC4;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fadeInText 1.2s ease-in-out 0.5s forwards;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== Product Intro ==================== */
#product-intro {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.intro-text {
    flex: 1;
    padding-right: 40px;
    font-size: 16px;
    color: #444;
}

.intro-text p {
    margin-bottom: 10px;
}

.intro-list {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}

.intro-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.intro-list li i {
    color: #002FA7;
    margin-right: 10px;
}

.intro-image {
    flex: 1;
    text-align: right;
}

.intro-image img {
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.intro-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ==================== 页面标题样式 ==================== */
.product-section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: left;
    color: #002FA7;
    margin: 20px 0 30px;
    padding-left: 15px;
    position: relative;
}

.product-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #002FA7, #0056b3);
    border-radius: 2px;
}

.product-stylish-heading {
    font-family: 'Cormorant SC', cursive;
    font-size: 3.2em;
    font-weight: 700;
    color: #013DC4;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fadeInText 1.2s ease-in-out 0.5s forwards;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== 产品简介区域 ==================== */
#product-intro {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}
.product-title {
    color: #0044cc; /* 设置标题为蓝色 */
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.product-features {
    list-style: none; /* 去掉默认列表样式 */
    padding: 0;
    margin: 0;
}

.product-features li {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: #00aa00; /* 对号的颜色 */
    margin-right: 10px; /* 对号和文字的间距 */
}


.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.intro-text {
    flex: 1;
    padding-right: 40px;
    font-size: 16px;
    color: #444;
}

.intro-text p {
    margin-bottom: 10px;
}

.intro-list {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}

.intro-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.intro-list li i {
    color: #002FA7;
    margin-right: 10px;
}

.intro-image {
    flex: 1;
    text-align: right;
}

.intro-image img {
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.intro-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ==================== 统计数据 ==================== */
.status-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
    background: #F5F5F7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-item {
    text-align: center;
    padding: 20px;
    flex: 1;
}

.status-item i {
    font-size: 30px;
    color: #002FA7;
    margin-bottom: 10px;
}

.status-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.status-item p {
    font-size: 22px;
    font-weight: bold;
    color: #002FA7;
}

/* ==================== 产品分类 ==================== */
.categories-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px;
}

.main-category-title {
    text-align: center;
    font-size: 28px;
    color: #0044cc;
    margin-bottom: 30px;
}

.category-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.subcategory-title {
    font-size: 18px;
    font-weight: bold;
    color: #0044cc;
    margin: 20px 0 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%; /* 图片宽度与容器一致 */
    height: auto; /* 按比例缩放高度 */
    margin: 0 auto; /* 图片在框内居中 */
    display: block; /* 保持图片为块级元素 */
    border-radius: 8px; /* 保持边角圆滑 */
}

/* 响应式优化 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .main-category-title { font-size: 24px; }
    .subcategory-title { font-size: 16px; }
    .product-card { padding: 10px; }
}


/* ==================== 产品分类主标题 ==================== */
.category-header {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 10px; /* 图标和标题之间的间距 */
    transition: transform 0.3s ease, color 0.3s ease;
}

.category-icon {
    font-size: 36px; /* 图标大小 */
    color: #013DC4; /* 初始颜色 */
    transition: transform 0.3s ease, color 0.3s ease;
}

.category-title {
    font-size: 24px;
    font-weight: bold;
    color: #013DC4;
    margin: 0; /* 去掉默认的标题间距 */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* 动态效果：悬停时整体移动和变色 */
.category-header:hover {
    color: #0056d3; /* 悬停时的文字颜色 */
    transform: translateX(5px); /* 整体右移 */
}

.category-header:hover .category-icon {
    color: #0056d3; /* 图标颜色变为更深的蓝色 */
    transform: scale(1.2); /* 图标略微放大 */
}
