﻿

body {
    background-color: #fff;
}


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

.module-table {
    flex: 1;
}

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


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

    .search-wrap .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-wrap .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-wrap .search-btn:hover {
            background-color: #c01010;
        }

.breadcrumbs {
    font-size: 14px;
    color: #666;
    padding: 10px 15px;
}

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

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

    .breadcrumbs span {
        color: #d90000;
        font-weight: 500;
    }

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

.price-title-container {
    width: 100%;
    padding: 15px;
    border-radius: 4px;
}

    .price-title-container .main-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 8px;
    }

    .price-title-container .update-time {
        font-size: 12px;
        color: #999;
    }

.declaration-bar {
    width: 100%;
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-top: 15px;
}

    .declaration-bar strong {
        color: #d90000;
        font-weight: 600;
    }


.popular-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;
    
}

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

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

.popular-item {
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    /* 前三项渐变背景色 */
    .popular-item:nth-child(1) {
        background-color: #ffe6e6;
    }

    .popular-item:nth-child(2) {
        background-color: #fff3e6;
    }

    .popular-item:nth-child(3) {
        background-color: #e6ffe6;
    }

.chart-container {
    width: 100%;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

    .chart-container .chart-title {
        font-size: 18px;
        font-weight: bold;
        color: #d90000;
        margin-bottom: 10px;
    }

    .chart-container .chart-img {
        width: 100%;
        border-radius: 4px;
    }

.related-articles-container {
    width: 100%;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

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

.articles-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.articles-item {
    font-size: 16px;
    color: #333;
    padding: 8px 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 770px;
}

    .articles-item::before {
        content: "●";
        color: #d90000;
        margin-right: 8px;
    }

.price-table-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.table-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-size: 16px;
}

.main-title {
    font-size: 18px;
    font-weight: bold;
    color: #d90000;
}

.notice-text {
    color: #666;
    font-size: 14px;
}

.gold-price-table {
    width: 100%;
    border-collapse: collapse;
}

    .gold-price-table th,
    .gold-price-table td {
        padding: 12px;
        text-align: center;
        font-size: 16px;
        border: 1px solid #eee;
    }

    .gold-price-table th {
        background-color: #d90000;
        color: #fff;
        font-weight: bold;
    }

    .gold-price-table td {
        color: #333;
    }

.declaration-bar {
    width: 100%;
    background-color: #f9f9f9;
    /* border: 1px solid #eee; */
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

    .declaration-bar strong {
        color: #d90000;
        font-weight: 600;
    }

.store-list-container {
    width: 100%;
    border-radius: 4px;
    padding: 15px;
}

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

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height:700px;
    overflow:auto;
}

.store-list-container .store-item {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 16px;
}

.store-number {
    display: inline-block;
    padding:2px 10px;
    text-align: center;
    background: #d90000;
    color: #fff;
    border-radius: 50px;
    margin-right: 8px;
    font-weight: bold;
}

.store-name {
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 8px;
}

.store-address,
.store-phone {
    color: #333;
    margin: 4px 0;
}

/* 当屏幕宽度小于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%;
    }

    .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;
    }

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

    .store-list-container .store-item{
        font-size:13px;
    }
}