/* --- Banner 主容器 --- */
.page-banner {

    /* 背景图设置 */
    /* 请将 url('...') 替换为您实际的图片路径 */
    background-image: url('/static/img/brand_icon_1.jpeg');
    background-size: cover; /* 保持比例覆盖整个区域 */
    background-position: center; /* 居中显示 */
    background-repeat: no-repeat;

}

/* 整体容器 */
.brand-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #fff;
}

/* 上半部分布局 */
.brand-intro {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

/* Logo 容器 */
.logo-container {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
}

/* 介绍文字区域 */
.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.text-para {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* ——— 中间分隔线 ——— */
.divider-line {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 40px 0;
}

/* ——— 下半部分：旗下产品 ——— */
.products-section {
    margin-top: 40px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* 单个产品卡片 */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* 保持图片比例 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.view-detail {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.view-detail:hover {
    color: #FFD700;
}

.xian {
    width: 100%;
    border-bottom: 1px solid #cfcfcf;
}

/* 整体容器 */
.brand-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #fff;
}

/* 上半部分布局 */
.brand-intro {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

/* Logo 容器 */
.logo-container {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
}

/* 介绍文字区域 */
.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.text-para {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* ——— 中间分隔线 ——— */
.divider-line {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 40px 0;
}

/* ——— 下半部分：旗下产品 ——— */
.products-section {
    margin-top: 40px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

/* 全屏产品卡片 */
.product-card-full {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-image-full {
    width: 100%;
    aspect-ratio: 16 / 9; /* 保持横幅比例 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.product-card-full:hover .product-image-full img {
    transform: scale(1.02);
}

.product-info-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px; /* 微调对齐 */
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.view-detail {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.view-detail:hover {
    color: #FFD700; /* 与品牌色一致 */
}

/* ==========================================================
   手机端（<=768px）
   ========================================================== */
@media (max-width: 768px) {
    .brand-section {
        margin: 24px auto;
        padding: 0 16px;
    }

    /* Logo 与介绍文字上下排列，避免正文被挤成竖排 */
    .brand-intro {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 28px;
    }

    .logo-container {
        flex: none;
        width: 100%;
        justify-content: flex-start;
    }

    .brand-logo {
        max-width: 130px;
    }

    .intro-text {
        width: 100%;
        gap: 12px;
    }

    .brand-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .text-para {
        font-size: 14px;
        line-height: 1.75;
        text-align: left;
    }

    .divider-line {
        margin: 24px 0;
    }

    .products-section {
        margin-top: 24px;
    }

    .section-subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-card,
    .product-card-full {
        gap: 12px;
    }

    .product-name {
        font-size: 16px;
    }

    .view-detail {
        font-size: 13px;
    }

    .product-info,
    .product-info-full {
        gap: 12px;
    }
}