/* ===== Banner轮播 ===== */
.banner-section {
    position: relative;
    margin-bottom: 0;
}

.banner-wrapper {
    position: relative;
    width: 950px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px 0 0 8px;
    display: flex;
    flex-direction: column;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
}

.banner-slide .banner-overlay h2 {
    font-size: 24px;
    font-weight: bold;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.banner-arrow.prev {
    left: 15px;
}

.banner-arrow.next {
    right: 15px;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dots .dot.active {
    background: #00a0e9;
}

/* ===== 行业资讯（右侧浮动面板） ===== */
.news-sidebar {
    position: relative;
    width: calc(100% - 950px - 20px);
    min-width: 300px;
    background: #fff;
    border-radius: 0 8px 8px 0;
    padding: 0 20px;
    z-index: 5;
    /*box-shadow: -2px 0 12px rgba(0, 0, 0, 0.08);*/
    display: flex;
    flex-direction: column;
}

.news-sidebar .section-header {
    margin-bottom: 0;
    flex-shrink: 0;
}

.news-sidebar .section-title {
    font-size: 20px;
    margin-bottom: -20px;
}

.news-sidebar .section-title::before {
    height: 16px;
}

.news-list-sidebar {
    flex: 1;
    overflow: hidden;
}

.news-list-sidebar .news-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-list-sidebar .news-item:hover {
    background: #0960EB;
    box-shadow: 0 6px 16px rgba(9, 96, 235, 0.25);
}

.news-list-sidebar .news-item:last-child {
    /*border-bottom: none;*/
}

.news-list-sidebar .news-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-list-sidebar .news-item .news-info {
    flex: 1;
    min-width: 0;
}

.news-list-sidebar .news-item .news-title {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    font-weight: bold;
}

.news-list-sidebar .news-item .news-title:hover {
    color: #00a0e9;
}

.news-list-sidebar .news-item .news-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}

/* ===== 今日铝价 ===== */
.price-section {
    background: url('/public/static2/img/898.png') no-repeat center center fixed;
    background-size: cover;
    padding: 45px 0;
    margin-top: 50px;
}

.price-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-tags .price-tag {
    padding: 3px 10px;
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    border-radius: 3px;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.price-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px;
    transition: all 0.3s;
}

.price-card:hover {
    background: #0960EB;
    border-color: #0960EB;
    box-shadow: 0 4px 14px rgba(9, 96, 235, 0.3);
}

.price-card .price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.price-card .price-name {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.price-card .price-trend {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.price-card .price-trend img {
    width: 28px;
    height: 39px;
    object-fit: contain;
}

.price-card .price-trend.up {
    color: #f56c6c;
}

.price-card .price-trend.down {
    color: #67c23a;
}

.price-card .price-value {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.price-card .price-value .amount {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.price-card .price-value .unit {
    font-size: 12px;
    color: #999;
}

.price-card .price-value .change {
    font-size: 32px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
}

.price-card .price-value .change .trend-arrow {
    width: 36px;
    height: 36px;
    margin-left: 2px;
    vertical-align: middle;
}

.price-card .price-value .change.up {
    color: #F30000;
}

.price-card .price-value .change.down {
    color: #44C02E;
}

.price-card .price-range {
    font-size: 24px;
    color: #999;
    margin-bottom: 4px;
}

.price-card .price-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.price-card:hover .price-name,
.price-card:hover .price-value .amount,
.price-card:hover .price-value .unit,
.price-card:hover .price-value .change,
.price-card:hover .price-value .change.up,
.price-card:hover .price-value .change.down,
.price-card:hover .price-trend,
.price-card:hover .price-trend.up,
.price-card:hover .price-trend.down,
.price-card:hover .price-range,
.price-card:hover .price-footer {
    color: #fff;
}

.price-card:hover .price-footer {
    border-top-color: rgba(255, 255, 255, 0.25);
}

.price-disclaimer {
    font-size: 14px;
    color: #999;
    margin-top: 30px;
}

/* ===== 企业动态 ===== */
.company-news-section {
    padding: 30px 0;
}

.company-news-section .section-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.company-news-section .title-tab {
    font-size: 14px;
    /*font-weight: bold;*/
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.company-news-section .title-tab:hover {
    /*color: #00a0e9;*/
}

.company-news-section .title-tab.active {
    color: black;
    font-size: 20px;
    font-weight: bold;
}

.company-news-section .title-tab[data-tab="industry"] {
    /*font-size: 14px;*/
    /*color: #999;*/
    /*font-weight: normal;*/
}

.company-news-section .title-tab[data-tab="industry"].active {
    /*color: #00a0e9;*/
    /*font-weight: bold;*/
}

.news-tab-content {
    display: none;
}

.news-tab-content.active {
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.news-grid.collapsed .news-card.hidden-card {
    display: none;
}

.news-grid.collapsed .news-card.fade-card {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

@media (min-width: 993px) {
    .news-grid.collapsed .news-card.hidden-card,
    .news-grid.collapsed .news-card.fade-card {
        display: block;
        opacity: 1;
        filter: none;
        pointer-events: auto;
    }
}

.news-toggle-btn {
    display: none;
    margin: 20px auto 0;
    padding: 8px 32px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.news-toggle-btn:hover {
    border-color: #00a0e9;
    color: #00a0e9;
}

.news-toggle-btn .arrow-icon {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.3s;
}

.news-toggle-btn.expanded .arrow-icon {
    transform: rotate(180deg);
}

.news-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-card .news-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-card .news-body {
    padding: 12px;
}

.news-card .news-title {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    height: 53px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.news-card .news-title:hover {
    color: #00a0e9;
}

.news-card .news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* ===== 广告位2 ===== */
.ad-section-2 {
    padding: 20px 0;
}

.ad-grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.ad-item-2 {
    position: relative;
    width: 510px;
    height: 220px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.ad-item-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-item-2 .ad-label {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
}

/* ===== 广告Swiper轮播 ===== */
.ad-banner {
    background: #fff;
    padding: 30px 0;
    margin: 20px 0;
}

.ad-swiper {
    position: relative;
    padding-bottom: 30px;
}

.ad-swiper-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.ad-swiper-track {
    display: flex;
    transition: transform 0.5s ease;
}

.ad-slide {
    position: relative;
    cursor: pointer;
}

.ad-slide-inner {
    position: relative;
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 6px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.ad-slide-inner .ad-text {
    font-size: 48px;
    color: #ccc;
    font-weight: bold;
    letter-spacing: 4px;
}

.ad-slide-inner .ad-label {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 11px;
    color: #bbb;
    background: #f0f0f0;
    padding: 1px 6px;
    border-radius: 2px;
}

.ad-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.ad-arrow:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ad-arrow.ad-prev {
    left: 10px;
}

.ad-arrow.ad-next {
    right: 10px;
}

.ad-swiper .swiper-pagination {
    bottom: 0;
}

.ad-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ddd;
    opacity: 1;
    margin: 0 4px;
}

.ad-swiper .swiper-pagination-bullet-active {
    background: #00a0e9;
}

/* ===== 产品推荐 ===== */
.product-section {
    padding: 30px 0;
    background: #EEF8FA;
}

.product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.product-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.product-tab {
    padding: 5px 28px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    background: transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.product-tab:hover {
    color: #0960EB;
}

.product-tab.active {
    background: transparent;
    border-color: transparent;
    color: #0960EB;
    font-weight: bold;
}

.product-tab .arrow {
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 2px;
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.product-filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.product-filter {
    padding: 6px 18px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.product-filter:hover,
.product-filter.active {
    color: #00a0e9;
    border-color: #00a0e9;
    background: #e8f4fd;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    background: #0960EB;
}

.product-card:hover .product-title{
    color: #AFFF60;
}

.product-card .product-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #f5f5f5;
}

.product-card .product-body {
    padding: 12px;
}

.product-card .product-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
    height: 46px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.product-card .product-tag {
    margin-bottom: 10px;
}

.product-card .product-company {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.product-card .product-company img {
    width: 100px;
    height: 50px;
    object-fit: contain;
}

.product-card .product-company span {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== 推荐品牌 ===== */
.brand-section {
    padding: 30px 0;
}

.brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.brand-tabs {
    display: flex;
    align-items: center;
    background: #f2f3f5;
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

.brand-tab {
    padding: 8px 22px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.3s;
    white-space: nowrap;
}

.brand-tab:hover {
    color: #0960EB;
}

.brand-tab.active {
    background: #0960EB;
    color: #fff;
}

.brand-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.brand-filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.brand-filter {
    padding: 8px 20px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #e5e6eb;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.brand-filter:hover,
.brand-filter.active {
    color: #fff;
    background: #0960EB;
    border-color: #0960EB;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.brand-card {
    --brand-line: #e5e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 315 / 150;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    background-image:
        linear-gradient(var(--brand-line), var(--brand-line)),
        linear-gradient(var(--brand-line), var(--brand-line)),
        linear-gradient(var(--brand-line), var(--brand-line)),
        linear-gradient(var(--brand-line), var(--brand-line));
    background-size:
        80% 1px,
        80% 1px,
        1px 80%,
        1px 80%;
    background-position:
        top center,
        bottom center,
        center left,
        center right;
    background-repeat: no-repeat;
    border: none;
    transition: all 0.3s;
}

.brand-card:hover {
    --brand-line: #0960EB;
    background-color: #0960EB;
    box-shadow: none;
}

.brand-card img {
    max-width: 160px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* 触屏设备禁用 hover 态，防止点击后样式粘住 */
@media (hover: none) {
    .brand-tab:hover:not(.active) {
        color: #666;
    }

    .brand-filter:hover:not(.active) {
        color: #333;
        background: #fff;
        border-color: #e5e6eb;
    }

    .brand-card:hover {
        --brand-line: #e5e6eb;
        background-color: #fff;
        box-shadow: none;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .banner-wrapper {
        width: 70%;
    }

    .news-sidebar {
        width: calc(30% - 20px);
    }

    .price-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid,
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .banner-section .container {
        flex-direction: column;
        margin-top: 10px;
    }

    .banner-wrapper {
        width: 100%;
        border-radius: 8px;
    }

    .news-sidebar {
        position: static;
        width: 100%;
        min-width: auto;
        border-radius: 8px;
        margin-top: 0;
    }

    .banner-slide img {
        height: 240px;
    }

    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .price-section {
        padding: 20px 0;
        margin-top: 10px;
    }

    .price-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .price-card .price-value .amount {
        font-size: 22px;
    }

    .company-news-section {
        padding: 20px 0;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .news-toggle-btn {
        display: block;
    }

    .news-grid.collapsed .news-card.fade-card .news-img {
        filter: blur(1px);
        opacity: 0.6;
    }

    .news-grid.collapsed .news-card.fade-card .news-body {
        height: 36px;
        overflow: hidden;
        opacity: 0.5;
        filter: blur(1px);
    }

    .news-grid.collapsed .news-card.fade-card::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
        z-index: 2;
    }

    .ad-banner {
        padding: 20px 0;
        margin: 10px 0;
    }

    .ad-slide {
        min-width: 50%;
    }

    .ad-slide-inner {
        height: 90px;
    }

    .ad-slide-inner .ad-text {
        font-size: 28px;
    }

    .ad-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .product-section {
        padding: 20px 0;
    }

    .product-top {
        flex-wrap: wrap;
        gap: 12px 16px;
        margin-bottom: 20px;
    }

    .product-tabs {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-tab {
        padding: 8px 16px;
        font-size: 13px;
        flex: 0 0 auto;
    }

    .product-filter {
        padding: 6px 14px;
        font-size: 12px;
    }

    .product-filter-group {
        gap: 6px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-title .subtitle {
        display: none;
    }

    .section-header {
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .brand-section {
        padding: 20px 0;
    }

    .brand-top {
        flex-wrap: wrap;
        gap: 12px 16px;
        margin-bottom: 16px;
    }

    .brand-tabs {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .brand-tabs::-webkit-scrollbar {
        display: none;
    }

    .brand-tab {
        flex: 0 0 auto;
        padding: 8px 16px;
        font-size: 13px;
    }

    .brand-filters {
        margin-bottom: 16px;
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .brand-card {
        padding: 14px;
    }
}

@media (max-width: 576px) {
    .banner-section .container {
        margin-top: 8px;
        gap: 0;
    }

    .banner-wrapper {
        border-radius: 6px;
    }

    .banner-slide img {
        height: 180px;
    }

    .banner-arrow {
        display: none;
    }

    .banner-dots {
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
    }

    .news-sidebar {
        padding: 14px;
        border-radius: 0 0 6px 6px;
    }

    .news-list-sidebar .news-item img {
        width: 80px;
        height: 56px;
    }

    .news-list-sidebar .news-item .news-title {
        font-size: 12px;
        height: 36px;
        font-weight: bold;
    }

    .price-section {
        padding: 16px 0;
    }

    .price-tags {
        gap: 6px;
    }

    .price-tags .price-tag {
        padding: 2px 8px;
        font-size: 11px;
    }

    .price-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .price-card {
        padding: 10px;
    }

    .price-card .price-name {
        font-size: 12px;
    }

    .price-card .price-value .amount {
        font-size: 18px;
    }

    .price-card .price-value .unit {
        font-size: 11px;
    }

    .price-card .price-value .change {
        font-size: 13px;
    }

    .price-card .price-range {
        font-size: 11px;
    }

    .price-card .price-footer {
        font-size: 11px;
        margin-top: 4px;
        padding-top: 4px;
    }

    .company-news-section {
        padding: 16px 0;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .news-toggle-btn {
        display: block;
    }

    .news-card .news-img {
        height: 100px;
    }

    .news-card .news-body {
        padding: 8px;
    }

    .news-card .news-title {
        font-size: 12px;
        height: 36px;
        margin-bottom: 6px;
    }

    .news-card .news-meta {
        font-size: 11px;
    }

    .ad-banner {
        padding: 16px 0;
        margin: 8px 0;
    }

    .ad-slide {
        min-width: 50%;
    }

    .ad-slide-inner {
        height: 80px;
    }

    .ad-slide-inner .ad-text {
        font-size: 24px;
    }

    .ad-arrow {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .product-section {
        padding: 16px 0;
    }

    .product-top {
        gap: 10px 12px;
        margin-bottom: 14px;
    }

    .product-tabs {
        gap: 0;
        padding: 4px 6px;
    }

    .product-tab {
        padding: 6px 12px;
        font-size: 12px;
        flex: 0 0 auto;
        text-align: center;
    }

    .product-filters {
        gap: 8px;
        margin-bottom: 14px;
        padding: 0;
    }

    .product-filter-group {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .product-filter-group::-webkit-scrollbar {
        display: none;
    }

    .product-filter {
        padding: 6px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card .product-img {
        height: 120px;
    }

    .product-card .product-body {
        padding: 8px;
    }

    .product-card .product-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .product-card .product-company span {
        font-size: 11px;
    }

    .section-title {
        font-size: 16px;
    }

    .section-more {
        font-size: 12px;
    }

    .section-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .brand-section {
        padding: 16px 0;
    }

    .brand-top {
        gap: 10px 12px;
        margin-bottom: 12px;
    }

    .brand-tabs {
        gap: 0;
        padding: 4px 6px;
    }

    .brand-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .brand-filters {
        margin-bottom: 12px;
    }

    .brand-filter-group {
        gap: 8px;
        padding-bottom: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .brand-filter-group::-webkit-scrollbar {
        display: none;
    }

    .brand-filter {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 12px;
    }

    .brand-grid {
        gap: 8px;
    }

    .brand-card {
        padding: 10px;
        border-radius: 8px;
    }

    .brand-card img {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .ad-grid-2 {
         flex-wrap: wrap;
    }
}

/* ===== 行业生态合作 & 热门品类 ===== */
.eco-section {
    background: #EEF8FA;
    padding: 40px 0 30px;
}

.eco-block {
    text-align: center;
    margin-bottom: 40px;
}

.eco-block:last-child {
    margin-bottom: 0;
}

.eco-title {
    display: inline-block;
    padding: 14px 60px;
    background: #0960EB;
    color: #AFFF60;
    font-size: 22px;
    font-weight: bold;
    border-radius: 999px;
    margin-bottom: 28px;
}

.eco-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.eco-links a {
    position: relative;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 0 22px;
    transition: color 0.3s;
}

.eco-links a:not(:last-child)::after {
    content: "·";
    position: absolute;
    right: 0;
    color: #999;
    font-weight: normal;
}

.eco-links a:hover {
    color: #0960EB;
}

@media (max-width: 768px) {
    .eco-title {
        font-size: 18px;
        padding: 10px 40px;
        margin-bottom: 20px;
    }

    .eco-links a {
        font-size: 14px;
        padding: 0 14px;
    }
}

/* ===== 产品数据 ===== */
.pdata-section {
    padding: 30px 0;
}

.pdata-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* 左侧分类 */
.pdata-tabs {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdata-tab {
    padding: 6px 18px;
    font-size: 14px;
    color: #333;
    background: #f2f3f5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdata-tab:hover {
    color: #0960EB;
}

.pdata-tab.active {
    background: #0960EB;
    color: #AFFF60;
    border-radius: 999px;
    font-weight: bold;
}

/* 中间图表 */
.pdata-charts {
    flex: 1;
    min-width: 0;
}

.pdata-chart {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    display: none;
}

.pdata-chart.active {
    display: block;
}

.pdata-chart-title {
    text-align: center;
    margin-bottom: 14px;
}

.pdata-chart-title h3 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.pdata-chart-title p {
    font-size: 17px;
    color: #333;
    margin-top: 4px;
}

.pdata-chart-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.pdata-chart-info .pdata-info-date {
    font-weight: bold;
}

.pdata-chart-info b {
    color: #0960EB;
    font-weight: bold;
}

.pdata-chart-info .pdata-info-tip {
    color: #999;
    font-size: 13px;
}

.pdata-echart {
    width: 100%;
    height: 420px;
}

/* 右侧资讯 */
.pdata-news {
    flex: 0 0 300px;
}

.pdata-news-head {
    background: #0960EB;
    color: #AFFF60;
    padding: 5px 18px;
    border-radius: 999px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}

.pdata-news ul li {
    padding: 6px 16px;
    background: #f2f3f5;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 14px;
}

.pdata-news ul li a {
    color: #333;
    transition: color 0.3s;
}

.pdata-news ul li a:hover {
    color: #0960EB;
}

@media (max-width: 1200px) {
    .pdata-layout {
        flex-wrap: wrap;
    }

    .pdata-tabs {
        flex: 0 0 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pdata-tab {
        flex: 0 0 auto;
    }

    .pdata-charts {
        flex: 1 1 100%;
    }

    .pdata-news {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .pdata-echart {
        height: 320px;
    }
}
