/* LPS与健康页面样式 */

/* 主内容区域 */
.health-main {
    width: 100%;
    overflow: hidden;
    background-color: #0D1E3E;
    padding-top: 85px;
}

/* 顶部大图区域 */
.health-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.health-hero-bg {
    width: 100%;
    object-fit: cover;
}

.health-hero-title-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.health-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.health-hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* 文章部分 */
.health-article {
    background-color: #0D1E3E;
    padding: 100px 0 40px 0;
}

.health-article .container {
    display: flex;
    gap: 30px;
    width: 1400px;
}

/* 左侧分类导航 */
.health-article-nav {
    width: 230px;
    min-width: 230px;
    background-color: #0D1E3E;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
   
}
.health-article-content{
    border: 1px solid #FFF;
    border-radius: 8px;
}
.health-article-nav-title {
    color: #e6c374;
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
}

.health-article-nav-list {
    list-style: none;
    padding: 0;
}
F
.health-article-nav-list li{
}

.health-article-nav-list li:last-child {
    border-bottom: none;
}

.health-article-nav-list li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.health-article-nav-list li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e6c374;
}

.health-article-nav-list li.active a {
    background-color: #1e4071;
     /*color: #e6c374; */
}

/* 右侧文章列表 */
.health-article-list {
    flex: 1;
}
.health-article-item-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.health-article-item {
    background-color: #0D1E3E;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.health-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.health-article-item-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.health-article-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.health-article-item:hover .health-article-item-img img {
    transform: scale(1.05);
}

.health-article-item-title {
    padding: 15px;
}

.health-article-item-title h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.health-article-item-desc {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 20px;
    max-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.products-section {
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.products-header {
    margin-bottom: 40px;
}

.products-title {
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 15px;
}


.products-description {
    max-width: 1300px;
    margin: 0 auto 60px;
    text-align: center;
    color: #A4A4A4;
    font-size: 20px;
    line-height: 1.8;
}

.products-description p {
    margin-bottom: 1px;
}

.products-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.products-swiper {
    width: 100%;
    padding: 20px 0;
}

.carousel-control {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    position: absolute;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.carousel-control.prev {
    top: 205px;
    left: 10px;
}

.carousel-control.next {
    top: 205px;
    right: 10px;
}


.carousel-control img:nth-child(2) {
    display: none;
}

.carousel-control:hover img:nth-child(1) {
    display: none;
}

.carousel-control:hover img:nth-child(2) {
    display: block;
}

.arrow {
    color: #FFF;
    font-size: 30px;
    line-height: 1;
}

.products-slider {
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: none;
    width: 1400px;
    margin: 0 auto;
    position: relative;
}

.product-item {
    flex: 0 0 453px;
    text-align: center;
    color: #FFF;
    transition: all 0.3s ease;
    padding: 10px;
    position: relative;
}

.product-highlight {
    transform: scale(1.15);
    z-index: 5;
    transition: transform 0.5s ease;
}

.product-image {
    width: 100%;
    height: 360px;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-highlight .product-image {
    transform: translateY(-10px);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-desc1 {
    font-weight: 300;
    font-size: 17px;
}

.product-spec1 {
    font-weight: 300;
    font-size: 17px;
    margin-bottom: 15px;
}

.product-price {
    color: #001A3D;
    padding: 5px 15px;
    display: inline-block;
}

.price-label {
    font-size: 12px;
    margin-right: 5px;
    display: inline-block;
}

.price-value {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
}

/* 添加简单的轮播动画效果 */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ========== 手机端专用样式 ========== */
@media (max-width: 576px) {
    .health-article .container {
        width:100%;
        padding: 0;
        gap: 10px;
        flex-direction: column;
    }
    .health-article {
        padding:10px;
    }
    .health-article-nav {
        width: auto;
        min-width: 120px;
    }
    .health-article-nav-title {
        font-size: 15px;
        padding: 10px;
    }
    .health-article-nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0 5px;
        gap: 10px 2px;
    }
    .health-article-nav-list li a {
        padding: 5px;
        font-size: 14px;
        border-radius: 10px;
    }
    .health-article-item-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
   .health-article-item {
       border-radius:0;
       background: #204387;
   }
   .health-article-item-img {
        width: 100%;
   }
   .health-article-item-title {
       padding: 10px;
   }
   .health-article-item-title h3 {
       font-size: 16px;
       margin-bottom: 5px;
   }
   .health-article-item-desc {
        font-size: 12px;
        color: #FFF;
        line-height: 20px;
        height: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        width: 95%;
        -webkit-box-orient: vertical;
        overflow: hidden;
   }
   
   .product-item {
        flex: 0 0 31.333%;
        padding:0;
    }
    .health-article-arrow{
        position: absolute;
        right: 20px;
        margin-top: -25px;
    }
}
