/* ==========================================================================
   4. 核心三栏内容区
   ========================================================================== */
/* 产品轮播容器基础样式 */
.product-swiper {
    width: 100%;
    overflow: hidden; /* 防止内容溢出 */
    padding: 10px 0 30px; /* 给指示器留空间 */
}

/* 单个产品项布局 */
.product-slide {
    display: flex;
    flex-direction: column; /* 图片在上，文字在下 */
    align-items: center;
    text-align: center;
    height: auto !important; /* 清除Swiper默认高度 */
}

/* 产品图片盒子 */
.product-img-box {
    width: 100%;
    aspect-ratio: 1/1; /* 图片保持正方形，避免变形 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 图片按比例缩放，不裁剪 */
    display: block;
}

/* 产品文字 */
.product-name {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    word-break: break-word;
    line-height: 1.4;
}

/* 指示器位置 */
.product-pagination {
    bottom: 0 !important;
}
.main-content {
    padding: 40px 0 60px 0;
    background-color: #ffffff;
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
}
.content-block {
    min-width: 0;
}
.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.block-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    display: flex;
    align-items: center;
}
.block-title::before {
    content: "|";
    color: #333333;
    font-weight: bold;
    margin-right: 8px;
}
.more-link {
    font-size: 13px;
    color: #999999;
    font-weight: bold;
    text-decoration: none;
}
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eeeeee;
}
.news-item a {
    font-size: 16px;
    color: #555555;
    text-decoration: none;
}
.about-text {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    text-align: justify;
}

/* ==========================================================================
   5. 产品侧边轮播组件
   ========================================================================== */
.product-swiper-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.product-slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.product-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px;
}
.product-link {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    text-decoration: none;
}
.product-img-box {
    width: 130px;
    height: 130px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-info-side {
    flex-grow: 1;
}
.product-name {
    font-size: 18px;
    color: #444444;
    font-weight: bold;
    word-break: break-all;
}
.product-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
.product-dots {
    display: flex;
    gap: 6px;
}
.p-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dddddd;
    cursor: pointer;
    transition: background-color 0.3s;
}
.p-dot.active {
    background-color: #666666;
}
