﻿

body {
    background-color: #fff;
}



/* 主内容区与侧边栏布局 */
.main-content {
    display: flex;
    max-width:1200px;
}

.module-table {
    flex: 1;
}

.module-news {
    width: 390px;
    padding-left: 10px;
}



.breadcrumbs {
    font-size: 14px;
    color: #666;
    padding: 10px 20px;
    /* background-color: #f5f5f5; */
}

    .breadcrumbs a {
        color: 666;
        text-decoration: none;
    }

        .breadcrumbs a:hover {
            color: #d90000;
        }

    .breadcrumbs span {
/*        margin: 0 5px;*/
        color: #999;
    }

.brand-grid-container {
    width: 100%;
    border-bottom: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
}

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


.hot-articles {
    margin-top: 15px;
    width: 100%;
    /* background: #fff; */
    /* border: 1px solid #eee; */
    border-radius: 4px;
    padding: 15px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #d90000;
    margin-bottom: 15px;
}

.article-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .article-item:last-child {
        border-bottom: none;
    }

.article-img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.article-content {
    flex: 1;
}

.article-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

    .article-title:hover {
        color: #d90000;
    }

.article-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

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

.brand-price-section {
    margin-top: 20px;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .brand-price-section .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* background-color: #d90000; */
        border-bottom: 1px solid #d90000;
        color: #d90000;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: bold;
    }

.expand-btn {
    color: #d90000;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
}
a {
    color: #000;
    text-decoration: none;
}
.price-grid {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    /* 默认高度，超出部分隐藏 */
    max-height: 200px;
    overflow: hidden;
    /* 过渡动画，让展开/收起更平滑 */
    transition: max-height 0.5s ease;
}

    /* 展开状态样式 */
    .price-grid.expanded {
        max-height: none; /* 展开后高度自适应 */
    }

    .price-grid a {
        font-size: 14px;
        color: #333;
        text-decoration: none;
        white-space: nowrap;
    }

        .price-grid a:hover {
            color: #d90000;
        }

.search-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    /* 可根据需求调整宽度 */
    margin-top: 10px;
}

.search-input {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e02020;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
}

.search-btn {
    height: 36px;
    padding: 0 18px;
    background-color: #e02020;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    cursor: pointer;
}

    .search-btn:hover {
        background-color: #c01010;
    }

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
    font-size: 14px;
    color: #666;
}

    .pagination-container .pagination-btn {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 3px;
        background-color: #fff;
        cursor: pointer;
        text-decoration: none;
        color: #666;
    }

        .pagination-container .pagination-btn:hover {
            border-color: #d90000;
            color: #d90000;
        }

    .pagination-container .page-number {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 3px;
        cursor: pointer;
    }

        .pagination-container .page-number.active {
            background-color: #d90000;
            color: #fff;
            border-color: #d90000;
        }

    .pagination-container .page-ellipsis {
        padding: 5px 0;
    }

    .pagination-container .jump-select {
        padding: 5px;
        border: 1px solid #ddd;
        border-radius: 3px;
        margin-left: 10px;
    }

    .pagination-container .pagination-info {
        margin-left: 20px;
    }

.hot-brand-price {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

    .hot-brand-price .section-header {
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: bold;
    }

.price-list {
    list-style: none;
    margin: 0;
    padding: 15px;
}

    .price-list li {
        padding: 8px 0;
        font-size: 14px;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .price-list li::before {
            content: "◆";
            color: #d90000;
            margin-right: 8px;
        }

.price-recovery-container {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

    .price-recovery-container .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: bold;
    }

.view-more {
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
}

.price-list {
    list-style: none;
    margin: 0;
    padding: 15px;
}

    .price-list li {
        padding: 8px 0;
        font-size: 14px;
        color: #333;
        line-height: 1.5;
    }

        .price-list li::before {
            content: "●";
            color: #d90000;
            margin-right: 8px;
        }
/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

.container {
    width: 100%;
    margin: 0 auto;
}

/* 头部导航 */
.header {
    background-color: #d90000;
    color: #fff;
}

    .header .container ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
        list-style: none;
        font-size: 18px;
    }

    .header .container .logo-wrap {
        display: flex;
        align-items: center;
    }

        .header .container .logo-wrap .logo-text .link-text {
            font-size: 12px;
        }

    .header .logo {
        height: 30px;
        margin-right: 20px;
    }

    .header ul li a {
        color: #fff;
        text-decoration: none;
    }

    .header ul li {
        padding: 10px 0;
        border-bottom: 2px solid transparent;
    }

    .header ul .activi {
        border-bottom: 2px solid rgba(254, 148, 28, 1);
    }

/* 头部导航 */

/* 主内容区与侧边栏布局 */
.main-content {
    display: flex;
}

.module-table {
    flex: 1;
}

.module-news {
    width: 390px;
    padding-left: 10px;
}

footer {
    background-color: #333;
    color: #aaa;
    font-size: 12px;
    padding: 20px 0;
    text-align: center;
}

    footer .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    footer .footer-info {
        margin-bottom: 15px;
        line-height: 1.8;
    }

    footer .footer-link {
        margin: 15px 0;
    }

    footer .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 15px;
        border-top: 1px solid #444;
    }

    footer .footer-logo {
        display: flex;
        align-items: center;
        color: #fff;
        text-decoration: none;
    }

        footer .footer-logo img {
            width: 30px;
            height: 30px;
            margin-right: 8px;
        }

    footer .footer-copyright {
        text-align: right;
    }

        footer .footer-copyright a {
            color: #aaa;
            text-decoration: none;
        }

.breadcrumbs {
    font-size: 14px;
    color: #666;
    padding: 10px 20px;
    /* background-color: #f5f5f5; */
}

    .breadcrumbs a {
        color: #333;
        text-decoration: none;
    }

        .breadcrumbs a:hover {
            color: #d90000;
        }

    .breadcrumbs span {
/*        margin: 0 5px;*/
        color: #999;
    }

.brand-grid-container {
    width: 100%;
    border-bottom: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
}

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

.brand-item {
    padding: 8px 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    text-align: center;
    text-decoration: none;
}

    .brand-item:hover {
        background-color: #d90000;
        color: #fff;
    }

.hot-articles {
    margin-top: 15px;
    width: 100%;
    /* background: #fff; */
    /* border: 1px solid #eee; */
    border-radius: 4px;
    padding: 15px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #d90000;
    margin-bottom: 15px;
}

.article-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .article-item:last-child {
        border-bottom: none;
    }

.article-img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.article-content {
    flex: 1;
}

.article-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

    .article-title:hover {
        color: #d90000;
    }

.article-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.article-meta {
    font-size: 14px;
    color: #999;
    display: flex;
    justify-content: space-between;
}

.brand-price-section {
    margin-top: 20px;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .brand-price-section .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* background-color: #d90000; */
        border-bottom: 1px solid #d90000;
        color: #d90000;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: bold;
    }

.expand-btn {
    color: #d90000;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
}

.price-grid {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

    .price-grid a {
        font-size: 16px;
        color: #333;
        text-decoration: none;
        white-space: nowrap;
    }

        .price-grid a:hover {
            color: #d90000;
        }

.search-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    /* 可根据需求调整宽度 */
    margin-top: 10px;
}

.search-input {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e02020;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
}

.search-btn {
    height: 36px;
    padding: 0 18px;
    background-color: #e02020;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
}

    .search-btn:hover {
        background-color: #c01010;
    }


.hot-brand-price {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

    .hot-brand-price .section-header {
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: bold;
    }

.price-list {
    list-style: none;
    margin: 0;
    padding: 15px;
}

    .price-list li {
        padding: 8px 0;
        font-size: 16px;
        color: #333;
    }

        .price-list li::before {
            content: "◆";
            color: #d90000;
            margin-right: 8px;
        }

.price-recovery-container {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

    .price-recovery-container .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: bold;
    }

.view-more {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
}

.price-list {
    list-style: none;
    margin: 0;
    padding: 15px;
}

    .price-list li {
        padding: 8px 0;
        font-size: 16px;
        color: #333;
        line-height: 1.5;
    }

        .price-list li::before {
            content: "●";
            color: #d90000;
            margin-right: 8px;
        }


.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px;
    font-size: 14px;
    color: #666;
}

    .pagination-container .pagination-btn {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 3px;
        background-color: #fff;
        cursor: pointer;
        text-decoration: none;
        color: #666;
    }

        .pagination-container .pagination-btn:hover {
            border-color: #d90000;
            color: #d90000;
        }

    .pagination-container .page-number {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 3px;
        cursor: pointer;
    }

        .pagination-container .page-number.active {
            background-color: #d90000;
            color: #fff;
            border-color: #d90000;
        }

    .pagination-container .page-ellipsis {
        padding: 5px 0;
    }

    .pagination-container .jump-select {
        padding: 5px;
        border: 1px solid #ddd;
        border-radius: 3px;
        margin-left: 10px;
    }

    .pagination-container .pagination-info {
        margin-left: 20px;
    }

/* 当屏幕宽度小于725px时 */
@media (max-width: 725px) {
    .main-content {
        display: flex;
        flex-direction: column;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .module-table {
        order: 1;
    }

    .module-news {
        order: 2;
        width: 100%;
    }

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

    .article-desc, .article-content a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

        .article-desc{
            font-size:12px;
        }

    .article-meta{
        display:block;
    }

    .article-meta {
        font-size: 10px;
    }

    .breadcrumbs {
        display: none;
    }

    .wholesale-strategy-container {
        display: block;
    }

    .gold-price-table th, .gold-price-table td {
        font-size: 12px;
        padding: 10px 0;
        box-sizing: border-box;
    }
}