/* 统一组件样式 - 大宗一站通 */

/* ===== Hero 区域 ===== */
.hero-gradient {
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-primary) 100%);
    padding: 1.5rem 0 1rem;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 24px rgba(0, 0, 0, 0.15);
    min-height: 300px;
    display: flex;
    align-items: center;
}

.hero-gradient::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
}

.hero-gradient .hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    line-height: var(--leading-tight);
}

.hero-gradient .hero-subtitle {
    color: var(--neutral-100);
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.5;
    font-size: var(--text-sm);
    margin-top: var(--spacing-sm);
}

.hero-divider-line {
    width: min(500px, 100%);
    height: 3px;
    background: #FBBF24;
    border: none;
    margin: var(--spacing-lg) 0;
    opacity: 1;
}

/* ===== 统计数据卡片 ===== */
.stat-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

.stat-card .stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Hero 内快速入门模块：半透明白底 + 白色文字 */
.hero-quick-start {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-quick-start h5 {
    color: white;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-sm);
}

.hero-steps {
    display: flex;
    gap: var(--spacing-md);
}

.hero-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
    flex: 1;
    min-width: 0;
}

.hero-step .step-icon {
    font-size: 1.75rem;
    color: var(--brand-accent);
    flex-shrink: 0;
}

.hero-step span {
    color: white;
    font-size: var(--text-xs);
    line-height: 1.3;
    white-space: nowrap;
}

/* Hero 热门搜索 */
.hero-hot-search {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
}

.hot-search-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
    white-space: nowrap;
}

.hot-search-tag {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-xs);
    text-decoration: none;
    cursor: pointer;
    padding: 2px var(--spacing-sm);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.hot-search-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Hero 搜索框 */
.hero-search-box {
    margin-top: var(--spacing-lg);
    max-width: 500px;
}

.hero-search-box .input-group {
    height: 40px;
}

.hero-search-box .input-group-text {
    background: #ffffff;
    border-right: none;
    color: var(--neutral-500);
    border-color: var(--neutral-700);
}

.hero-search-box .form-control {
    border: 1px solid var(--neutral-700);
    border-left: none;
    border-right: 1px solid var(--neutral-700);
    background: #ffffff;
    font-size: var(--text-sm);
}

.hero-search-box .form-control:focus {
    border: 1px solid var(--neutral-700);
    border-left: none;
    border-right: 1px solid var(--neutral-700);
    box-shadow: none;
    background: #fff;
}

.hero-search-box #hero-search-btn {
    background: #ffffff;
    border: 1px solid var(--neutral-700);
    border-left: none;
    color: var(--neutral-700);
    transition: all 0.2s ease;
}

.hero-search-box #hero-search-btn:hover {
    background: var(--neutral-100);
    color: var(--neutral-800);
}

@media (max-width: 768px) {
    .hero-search-box .input-group {
        max-width: 100%;
    }
}

/* 个性化定制表单卡片 */
.hero-custom-form-card {
    background: var(--surface-primary);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    margin-right: var(--spacing-xxl);
}

.hero-custom-desc {
    font-size: var(--text-sm);
}

.custom-form-title {
    color: var(--neutral-800);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
}

.btn-submit-demand {
    margin-top: var(--spacing-sm);
    background: var(--brand-accent);
    color: #fff;
    border: none;
    max-width: 100%;
}

.btn-submit-demand:hover {
    opacity: 0.9;
    color: #fff;
}

/* Hero 左侧内容偏移 */
.hero-gradient .col-lg-7 {
    padding-left: 4rem;
}

.custom-input {
    background: var(--neutral-50);
    border-color: var(--neutral-200);
    font-size: var(--text-sm);
}

.custom-input:focus {
    border-color: var(--brand-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.demand-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: var(--text-xs);
    color: var(--neutral-700);
    padding: 3px 0;
}

.custom-checkbox input[type="checkbox"] {
    accent-color: var(--brand-primary);
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.check-label {
    user-select: none;
}

.btn-submit-demand {
    margin-top: var(--spacing-sm);
}

/* 行情跑马灯（Hero 下方） */
.hero-ticker-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--surface-secondary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
}

.ticker-title-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-title-link:hover {
    color: var(--brand-secondary);
}

.ticker-inline {
    flex: 1;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}

.ticker-track .ticker-item {
    white-space: nowrap;
    font-size: var(--text-sm);
    color: var(--neutral-700);
}

.ticker-track .ticker-price {
    font-family: 'Roboto Mono', monospace;
    color: var(--neutral-800);
    margin-left: 4px;
    font-weight: var(--font-weight-semibold);
}

.ticker-item.ticker-divider {
    color: var(--neutral-400);
    font-size: var(--text-xs);
}

/* 红涨绿跌 */
.text-positive {
    color: #D32F2F !important;
}

.text-negative {
    color: #2E7D32 !important;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 信息快讯 */
.news-card {
    background: var(--surface-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    height: 100%;
}

.news-card:hover {
    border-color: var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.news-card-title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--neutral-100);
}

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

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px dashed var(--neutral-100);
    gap: var(--spacing-sm);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li a {
    color: var(--neutral-700);
    font-size: var(--text-xs);
    text-decoration: none;
    line-height: 1.4;
    flex: 1;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.news-list li a:hover {
    color: var(--brand-primary);
}

.news-time {
    color: var(--neutral-400);
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 核心卖家 */
.seller-card {
    background: var(--surface-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border: 1px solid var(--neutral-200);
    transition: all 0.2s ease;
    height: 100%;
}

.seller-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--brand-primary);
}

.seller-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.seller-info {
    flex: 1;
    min-width: 0;
}

.seller-name {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: 2px;
}

.seller-desc {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   规范化页脚
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, var(--surface-secondary) 0%, var(--neutral-100) 100%);
    border-top: 1px solid var(--neutral-200);
    padding-top: var(--spacing-xl);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.footer-partners {
    text-align: center;
    padding-bottom: 48px;
}

.footer-partners-title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-md);
}

.footer-partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-partner-logo {
    width: 150px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--surface-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-600);
    border: 1px solid var(--neutral-200);
    transition: opacity 0.2s ease;
    cursor: default;
}

.footer-partner-logo:hover {
    opacity: 0.7;
}

.footer-links {
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--neutral-200);
}

.footer-links-col h6 {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-sm);
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: 6px;
}

.footer-links-col ul li a {
    color: var(--neutral-600);
    font-size: var(--text-xs);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-col ul li a:hover {
    color: var(--brand-primary);
}

.footer-copyright {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-bottom: 1px solid var(--neutral-200);
}

.footer-copyright p {
    margin: 0;
    font-size: 12px;
    color: var(--neutral-500);
}

.footer-copyright .footer-copyright-tip {
    font-size: 12px;
    color: var(--neutral-400);
    margin-top: var(--spacing-xs);
}

.footer-copyright a {
    color: var(--neutral-500);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--brand-primary);
}

.footer-disclaimer {
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-disclaimer p {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--neutral-400);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-links {
        padding-bottom: var(--spacing-sm);
    }

    .footer-links-col {
        margin-bottom: var(--spacing-sm);
    }

    .footer-partner-logos {
        gap: 12px;
    }

    .footer-partner-logo {
        width: 120px;
        height: 48px;
        font-size: 11px;
    }
}

/* ============================================
   商品筛选（紧凑横向布局）
   ============================================ */

/* ===== 筛选栏容器 ===== */
.filter-bar {
    background: var(--surface-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.filter-bar-inner {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--neutral-200);
}

.filter-bar-inner:last-child {
    border-bottom: none;
}

/* ===== 搜索框 ===== */
.filter-search-row {
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
}

.search-input-group {
    display: flex;
    align-items: center;
    height: 35px;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    max-width: 520px;
}

.search-input-group:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(10, 38, 71, 0.12);
}

.search-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    background: var(--surface-primary);
    border-right: 1px solid var(--neutral-300);
    color: var(--neutral-500);
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.search-input-field {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 var(--spacing-md);
    font-size: var(--text-sm);
    color: var(--neutral-800);
    background: var(--surface-primary);
    min-width: 0;
}

.search-input-field::placeholder {
    color: var(--neutral-400);
}

.search-input-field:focus {
    outline: none;
}

.search-btn {
    height: 100%;
    padding: 0 var(--spacing-lg);
    background: var(--brand-primary);
    color: #fff;
    border: none;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.search-btn:hover {
    background: var(--brand-primary-light);
}

/* ===== 筛选控制行 ===== */
.filter-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
    flex-wrap: wrap;
}

/* ===== 一级分类标签 ===== */
.filter-category-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.filter-category-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    background: var(--surface-primary);
    color: var(--neutral-700);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.filter-category-tab:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.filter-category-tab.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* ===== 右侧控件组 ===== */
.filter-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* 价格区间 */
.filter-price-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.filter-price-input {
    width: 100px;
    height: 35px;
    padding: 0 var(--spacing-sm);
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    font-size: var(--text-sm);
    color: var(--neutral-700);
    background: var(--surface-primary);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-price-input::placeholder {
    color: var(--neutral-400);
}

.filter-price-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(10, 38, 71, 0.12);
}

.filter-price-connector {
    color: var(--neutral-400);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
}

/* 排序下拉框 */
.filter-sort-select {
    height: 35px;
    padding: 0 var(--spacing-sm);
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    font-size: var(--text-sm);
    color: var(--neutral-700);
    background: var(--surface-primary);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
}

.filter-sort-select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(10, 38, 71, 0.12);
}

/* 按钮组 */
.filter-btn-group {
    display: flex;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.filter-btn-primary {
    height: 35px;
    padding: 0 var(--spacing-lg);
    background: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.filter-btn-primary:hover {
    background: var(--brand-primary-light);
}

.filter-btn-secondary {
    height: 35px;
    padding: 0 var(--spacing-lg);
    background: var(--surface-primary);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-700);
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.filter-btn-secondary:hover {
    background: var(--neutral-100);
    border-color: var(--neutral-800);
}

/* ===== 二级分类标签行 ===== */
.filter-subtype-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--neutral-200);
}

.filter-subtype-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border: 1px solid var(--neutral-300);
    border-radius: 16px;
    background: var(--surface-secondary);
    color: var(--neutral-600);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.filter-subtype-tag:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.filter-subtype-tag.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .filter-bar {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .filter-top-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-controls {
        flex-wrap: wrap;
        width: 100%;
    }

    .filter-btn-group {
        margin-left: 0;
    }
}

/* ===== 导航栏系统 ===== */
.navbar-brand-fixed {
    background-color: var(--brand-primary);
    box-shadow: var(--shadow-brand-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.navbar-brand-fixed .navbar-brand {
    font-weight: var(--font-weight-bold);
    font-size: var(--text-lg);
    color: white;
    padding: 0;
}

.navbar-brand-fixed .navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.navbar-brand-fixed .navbar-brand-logo::before {
    content: "📊";
    font-size: 1.2em;
}

.navbar-brand-fixed .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    margin: 0 var(--spacing-xs);
}

.navbar-brand-fixed .nav-link:hover,
.navbar-brand-fixed .nav-link:focus {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-brand-fixed .nav-link.active {
    color: var(--brand-accent);
    background-color: rgba(212, 175, 55, 0.1);
}

.navbar-brand-fixed .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.navbar-brand-fixed .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand-fixed .navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
}

/* 面包屑容器 */
.breadcrumb-container {
    background-color: var(--surface-secondary);
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--spacing-sm) 0;
    margin-top: 76px; /* 导航栏高度 */
}

.breadcrumb-container .breadcrumb-brand {
    margin-bottom: 0;
}

/* ===== 按钮系统 ===== */
.btn-brand {
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    padding: var(--spacing-md) var(--spacing-xl);
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-size: var(--text-sm);
    line-height: var(--leading-tight);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    user-select: none;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.btn-brand:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 38, 71, 0.2);
}

.btn-brand:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* 主按钮 - 深蓝填充 */
.btn-brand-primary {
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.btn-brand-primary:hover:not(:disabled) {
    background-color: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-brand-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* 次按钮 - 白底深蓝边框 */
.btn-brand-secondary {
    background-color: transparent;
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-brand-secondary:hover:not(:disabled) {
    background-color: rgba(10, 38, 71, 0.05);
    border-color: var(--brand-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-brand-secondary:active:not(:disabled) {
    transform: translateY(0);
    background-color: rgba(10, 38, 71, 0.1);
}

/* 浅色轮廓按钮 - 用于深色背景 */
.btn-brand-outline-light {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-brand-outline-light:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-brand-outline-light:active:not(:disabled) {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.2);
}

/* 强调按钮 - 金色 */
.btn-brand-accent {
    background-color: var(--brand-accent);
    color: var(--brand-primary);
    border-color: var(--brand-accent);
    font-weight: var(--font-weight-bold);
}

.btn-brand-accent:hover:not(:disabled) {
    background-color: var(--brand-accent-light);
    border-color: var(--brand-accent-light);
    color: var(--brand-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-brand-accent:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* 危险按钮 */
.btn-brand-danger {
    background-color: var(--semantic-danger);
    color: white;
    border-color: var(--semantic-danger);
}

.btn-brand-danger:hover:not(:disabled) {
    background-color: #c82333;
    border-color: #c82333;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

/* 危险轮廓按钮 */
.btn-brand-outline-danger {
    background-color: transparent;
    color: var(--semantic-danger);
    border-color: var(--semantic-danger);
}

.btn-brand-outline-danger:hover:not(:disabled) {
    background-color: var(--semantic-danger);
    border-color: var(--semantic-danger);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

/* 主按钮轮廓 */
.btn-brand-outline-primary {
    background-color: transparent;
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-brand-outline-primary:hover:not(:disabled) {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* 成功按钮 */
.btn-brand-success {
    background-color: var(--semantic-success);
    color: white;
    border-color: var(--semantic-success);
}

.btn-brand-success:hover:not(:disabled) {
    background-color: #157347;
    border-color: #157347;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
}

/* 按钮大小 */
.btn-brand-sm {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--text-xs);
}

.btn-brand-lg {
    padding: var(--spacing-lg) var(--spacing-xxl);
    font-size: var(--text-base);
}

/* 按钮加载状态 */
.btn-brand.loading {
    position: relative;
    color: transparent;
}

.btn-brand.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: button-spinner 0.6s linear infinite;
}

.btn-brand-secondary.loading::after {
    border: 2px solid rgba(10, 38, 71, 0.3);
    border-top-color: var(--brand-primary);
}

@keyframes button-spinner {
    to { transform: rotate(360deg); }
}

/* ===== 卡片系统 ===== */
.card-brand {
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background: var(--surface-primary);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-brand:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-brand-header {
    padding: var(--spacing-lg) var(--spacing-xl) 0;
    border-bottom: 1px solid var(--neutral-200);
    background-color: var(--surface-secondary);
}

.card-brand-body {
    padding: var(--spacing-xl);
}

.card-brand-footer {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
    border-top: 1px solid var(--neutral-200);
    background-color: var(--surface-secondary);
}

/* 数据卡片 */
.card-brand-data {
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.card-brand-data::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
}

.card-brand-data .card-brand-body {
    padding: var(--spacing-lg);
}

/* 紧凑卡片 */
.card-brand-compact .card-brand-body {
    padding: var(--spacing-lg);
}

.card-brand-compact .card-brand-header {
    padding: var(--spacing-md) var(--spacing-lg) 0;
}

.card-brand-compact .card-brand-footer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

/* ===== 表单系统 ===== */
.form-control-brand {
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-300);
    padding: var(--spacing-md) var(--spacing-lg);
    transition: all var(--transition-base);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    background-color: var(--surface-primary);
    color: var(--neutral-900);
    width: 100%;
}

.form-control-brand:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(10, 38, 71, 0.1);
    outline: none;
}

.form-control-brand::placeholder {
    color: var(--neutral-500);
    opacity: 1;
}

.form-control-brand.is-invalid {
    border-color: var(--semantic-danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(var(--spacing-lg) - 1rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.form-control-brand.is-valid {
    border-color: var(--semantic-success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(var(--spacing-lg) - 1rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.invalid-feedback-brand {
    color: var(--semantic-danger);
    font-size: var(--text-xs);
    margin-top: var(--spacing-xs);
    display: block;
}

.valid-feedback-brand {
    color: var(--semantic-success);
    font-size: var(--text-xs);
    margin-top: var(--spacing-xs);
    display: block;
}

/* 表单组 */
.form-group-brand {
    margin-bottom: var(--spacing-lg);
}

.form-label-brand {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
    color: var(--neutral-800);
    font-size: var(--text-sm);
}

/* 表单帮助文本 */
.form-text-brand {
    margin-top: var(--spacing-xs);
    font-size: var(--text-xs);
    color: var(--neutral-600);
}

/* ===== 表格系统 ===== */
.table-brand {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: var(--text-sm);
}

.table-brand thead {
    position: sticky;
    top: 0;
    z-index: var(--z-index-sticky);
}

.table-brand thead th {
    background-color: var(--surface-secondary);
    border-bottom: 2px solid var(--neutral-300);
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-800);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.table-brand tbody tr {
    transition: background-color var(--transition-fast);
}

.table-brand tbody tr:hover {
    background-color: rgba(10, 38, 71, 0.03);
}

.table-brand td {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--neutral-200);
    vertical-align: middle;
}

.table-brand td.tabular-nums {
    font-variant-numeric: tabular-nums;
    font-family: var(--font-family-mono), monospace;
}

/* 表格行状态 */
.table-brand tbody tr.row-success {
    background-color: rgba(25, 135, 84, 0.05);
}

.table-brand tbody tr.row-warning {
    background-color: rgba(255, 193, 7, 0.05);
}

.table-brand tbody tr.row-danger {
    background-color: rgba(220, 53, 69, 0.05);
}

/* 表格操作列 */
.table-actions {
    text-align: right;
    white-space: nowrap;
}

.table-actions .btn-brand {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--text-xs);
    margin-left: var(--spacing-xs);
}

/* ===== 骨架屏 ===== */
.skeleton {
    background: linear-gradient(90deg, var(--neutral-100) 25%, var(--neutral-200) 50%, var(--neutral-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.skeleton-title {
    height: 1.5rem;
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    width: 60%;
}

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* 骨架屏容器 */
.skeleton-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-xl);
    color: var(--neutral-600);
    max-width: 500px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.5;
    color: var(--neutral-400);
}

.empty-state-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-800);
}

.empty-state-description {
    margin-bottom: var(--spacing-lg);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--neutral-600);
}

.empty-state-actions {
    margin-top: var(--spacing-xl);
}

/* ===== 徽章系统 ===== */
.badge-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-tight);
    white-space: nowrap;
    vertical-align: middle;
}

.badge-brand-primary {
    background-color: rgba(10, 38, 71, 0.1);
    color: var(--brand-primary);
}

.badge-brand-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--semantic-success);
}

.badge-brand-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--semantic-warning);
}

.badge-brand-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--semantic-danger);
}

.badge-brand-accent {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--brand-accent);
}

/* ===== 价格徽章 ===== */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: var(--font-weight-semibold);
}

.price-up {
    background: rgba(25, 135, 84, 0.12);
    color: var(--semantic-success);
}

.price-down {
    background: rgba(220, 53, 69, 0.12);
    color: var(--semantic-danger);
}

/* ===== 页面过渡 ===== */
.page-transition {
    opacity: 0;
    animation: fadeIn 0.3s var(--ease-out) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 响应式表格容器 ===== */
.table-responsive-brand {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== 工具提示 ===== */
.tooltip-brand {
    position: absolute;
    z-index: var(--z-index-tooltip);
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--neutral-900);
    color: white;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    line-height: var(--leading-tight);
    max-width: 200px;
    white-space: normal;
    box-shadow: var(--shadow-md);
}

.tooltip-brand::before {
    content: "";
    position: absolute;
    border: 5px solid transparent;
}

.tooltip-brand.top::before {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: var(--neutral-900);
}

.tooltip-brand.bottom::before {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: var(--neutral-900);
}

/* ===== 分割线 ===== */
.divider-brand {
    height: 1px;
    background-color: var(--neutral-200);
    margin: var(--spacing-xl) 0;
    border: none;
}

.divider-brand-vertical {
    width: 1px;
    height: 100%;
    background-color: var(--neutral-200);
    margin: 0 var(--spacing-xl);
}

/* ===== 加载指示器 ===== */
.loading-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(10, 38, 71, 0.2);
    border-radius: 50%;
    border-top-color: var(--brand-primary);
    animation: loading-spinner 0.6s linear infinite;
}

.loading-indicator-sm {
    width: 16px;
    height: 16px;
}

.loading-indicator-lg {
    width: 24px;
    height: 24px;
    border-width: 3px;
}

@keyframes loading-spinner {
    to { transform: rotate(360deg); }
}

/* ===== 面包屑导航 ===== */
.breadcrumb-brand {
    display: flex;
    flex-wrap: wrap;
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
    list-style: none;
    font-size: var(--text-sm);
}

.breadcrumb-brand-item {
    display: flex;
    align-items: center;
}

.breadcrumb-brand-item + .breadcrumb-brand-item::before {
    content: "/";
    padding: 0 var(--spacing-sm);
    color: var(--neutral-500);
}

.breadcrumb-brand-item a {
    color: var(--brand-primary);
    text-decoration: none;
}

.breadcrumb-brand-item a:hover {
    text-decoration: underline;
}

.breadcrumb-brand-item.active {
    color: var(--neutral-600);
}

/* ===== 热门商品分类网格 ===== */
.category-grid {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.category-card {
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-card-underline {
    width: 70px;
    height: 2px;
    background: var(--brand-accent);
    margin-top: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.category-desc {
    color: var(--neutral-600);
    font-size: 0.9rem;
    margin: 0;
}

.category-card h5 {
    margin-bottom: 0;
}

/* 分类卡片内快捷标签 */
.quick-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.quick-tag {
    display: inline-block;
    padding: 2px var(--spacing-sm);
    background: var(--surface-secondary);
    color: var(--neutral-700);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-tag:hover {
    background: var(--brand-primary);
    color: white;
}

/* ===== 行情页面 ===== */

/* 时间范围选择器 */
.market-time-selector {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.market-time-btn {
    padding: var(--spacing-xs) var(--spacing-lg);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-pill);
    background: var(--surface-primary);
    color: var(--neutral-700);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.2s ease;
}

.market-time-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.market-time-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* 图表网格（左右两列） */
.market-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* 图表卡片 */
.market-chart-card {
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.market-chart-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.market-chart-header {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--neutral-200);
    background: var(--surface-secondary);
}

.market-chart-title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin: 0;
}

.market-chart-body {
    padding: var(--spacing-lg);
}

.market-chart-canvas {
    width: 100%;
    max-height: 320px;
}

/* 空状态 */
.market-chart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-xl);
    color: var(--neutral-400);
}

.market-chart-empty i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.market-chart-empty p {
    margin: 0;
    font-size: var(--text-sm);
}

.market-chart-empty-wide {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-xl);
    color: var(--neutral-400);
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
}

.market-chart-empty-wide i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.market-chart-empty-wide p {
    margin: 0;
    font-size: var(--text-sm);
}

/* 行情表格卡片 */
.market-table-card .card-brand-body {
    padding: 0;
}

/* 响应式 */
@media (max-width: 992px) {
    .market-charts-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 最新行情区域 ===== */
.market-trend {
    border-radius: var(--radius-lg);
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.market-trend:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.market-table table {
    width: 100%;
    font-size: var(--text-sm);
    border-collapse: collapse;
}

.market-table thead th {
    border-bottom: 2px solid var(--neutral-300);
    padding: var(--spacing-md) var(--spacing-sm);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--neutral-700);
    text-align: left;
    background-color: var(--surface-secondary);
}

.market-table tbody tr {
    border-bottom: 1px solid var(--neutral-200);
    transition: background-color var(--transition-fast);
}

.market-table tbody tr:hover {
    background-color: var(--surface-secondary);
}

.market-table td {
    padding: var(--spacing-md) var(--spacing-sm);
    vertical-align: middle;
}

.market-table .price-col {
    text-align: right;
    font-weight: 500;
}

.market-table .change-col {
    text-align: center;
    font-weight: 500;
}

.market-table .text-positive {
    color: #00A878;
}

.market-table .text-negative {
    color: #FF5A5F;
}

/* ===== 行情跑马灯 ===== */
.market-ticker {
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-top: var(--spacing-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
}

.ticker-track {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    animation: ticker-scroll 30s linear infinite;
    width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    white-space: nowrap;
    font-size: var(--text-sm);
    color: var(--neutral-700);
}

.ticker-item .ticker-name {
    font-weight: var(--font-weight-medium);
}

.ticker-item .ticker-change {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.ticker-item.ticker-divider {
    color: var(--neutral-400);
    font-size: var(--text-xs);
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== 区域标题统一样式 ===== */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-900);
    margin-bottom: var(--spacing-sm);
}

.section-divider {
    width: 160px;
    height: 2px;
    background: var(--brand-accent);
    border: none;
    margin: 0;
    opacity: 0.85;
}

/* ===== 底部合并横幅 ===== */
.footer-banner {
    background: var(--surface-secondary);
    padding: var(--spacing-xl) var(--spacing-xl);
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.footer-banner-text {
    font-size: var(--text-base);
    color: var(--neutral-700);
    line-height: var(--leading-relaxed);
}

.footer-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.2;
}

.footer-stat-label {
    font-size: var(--text-xs);
    color: var(--neutral-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-stats {
    justify-content: flex-end;
}

/* ===== 全局微交互 ===== */
.stat-card,
.category-card,
.card-brand {
    transition: all 0.2s ease;
}

/* 品种筛选栏 */
.subcategory-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--neutral-200);
    margin-top: var(--spacing-sm);
}

.subcategory-btn {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--spacing-sm);
    border: none;
    background: var(--surface-secondary);
    color: var(--neutral-600);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.subcategory-btn:hover {
    color: var(--brand-primary);
    background: var(--neutral-200);
}

.subcategory-btn.active {
    background: var(--brand-primary);
    color: white;
}

/* 商品卡片品种标签 */
.product-subtype-tag {
    display: inline-block;
    padding: 1px var(--spacing-xs);
    background: var(--surface-secondary);
    color: var(--neutral-600);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
}

/* ===== 商品列表页 ===== */

.btn-block {
    width: 100%;
    display: block;
}

/* 查看详情链接按钮 */
.btn-detail-link {
    text-decoration: none;
    text-align: center;
    line-height: normal;
}

.btn-detail-link:hover {
    color: #fff;
}

/* 商品列表页 */
.market-page,
.product-page {
    padding-bottom: 0;
}

.market-header,
.product-header {
    text-align: center;
}

.market-title,
.product-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-900);
    margin-bottom: var(--spacing-sm);
}

.market-desc,
.product-desc {
    color: var(--neutral-600);
    font-size: var(--text-base);
    margin: 0;
}

/* 筛选栏 */
.filter-bar {
    background: var(--surface-primary);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.filter-category-group {
    flex-wrap: wrap;
}

.filter-category-btn {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--neutral-300);
    border-radius: 999px;
    background: var(--surface-primary);
    color: var(--neutral-700);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-category-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.filter-category-btn.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.filter-price-group {
    align-items: center;
}

.filter-price-input {
    width: 100px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    transition: border-color var(--transition-fast);
}

.filter-price-input:focus {
    border-color: var(--brand-primary);
    outline: none;
}

.filter-price-separator {
    color: var(--neutral-400);
    font-size: var(--text-sm);
}

.filter-sort-select {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--neutral-700);
    background: var(--surface-primary);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.filter-sort-select:focus {
    border-color: var(--brand-primary);
    outline: none;
}

.filter-btn-group {
    margin-left: auto;
}

/* 商品卡片 */
.product-grid {
    margin-bottom: var(--spacing-xl);
}

.product-card {
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--surface-secondary);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.product-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--neutral-900);
    margin-bottom: var(--spacing-xs);
}

.product-sku {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    margin-bottom: var(--spacing-xs);
}

.product-desc {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: var(--spacing-sm);
}

.product-price {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary);
}

.product-stock {
    font-size: var(--text-xs);
    color: var(--neutral-600);
}

.product-actions {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.product-actions .btn-brand-primary {
    flex: 1;
}

.btn-product-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    background: var(--surface-primary);
    color: var(--neutral-700);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: var(--text-base);
}

.btn-product-cart:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

/* 分页 */
.pagination-wrapper {
    padding: var(--spacing-xl) 0;
}

.pagination-brand {
    display: flex;
    gap: var(--spacing-xs);
}

.pagination-brand .page-item.active .page-link {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.pagination-brand .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--spacing-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    color: var(--neutral-700);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-brand .page-link:hover:not(.disabled) {
    background: var(--neutral-100);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pagination-brand .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

/* 空状态 */
.empty-grid {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-xl);
    color: var(--neutral-600);
}

/* ===== 导航栏购物车 ===== */
.cart-nav {
    position: relative;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-icon-wrapper .nav-link {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-lg);
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--semantic-danger);
    color: white;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

/* 购物车悬停下拉 */
.cart-dropdown {
    position: absolute;
    top: 100%;
    right: -20px;
    width: 280px;
    background: var(--surface-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1050;
}

.cart-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown-header {
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--neutral-200);
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-900);
    font-size: var(--text-sm);
}

.cart-dropdown-body {
    max-height: 200px;
    overflow-y: auto;
}

.cart-dropdown-item {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--neutral-100);
}

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

.cart-dropdown-item-name {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--neutral-800);
}

.cart-dropdown-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--neutral-600);
    margin-top: 2px;
}

/* ===== 行情页面 ===== */
.market-trend-overview {
    background: var(--surface-primary);
}

.chart-placeholder-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.chart-placeholder-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-sm);
}

.chart-placeholder-bars .chart-bar {
    width: 12%;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: height var(--transition-slow);
    min-height: 4px;
}

.chart-placeholder-bars .chart-bar:hover {
    opacity: 0.8;
}

.chart-placeholder-bars .bar-up {
    background-color: var(--trade-buy);
}

.chart-placeholder-bars .bar-down {
    background-color: var(--trade-sell);
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    padding: 0 var(--spacing-sm);
    font-size: var(--text-xs);
    color: var(--neutral-600);
    border-top: 1px solid var(--neutral-200);
    padding-top: var(--spacing-sm);
}

.chart-labels span {
    width: 12%;
    text-align: center;
}

/* ===== 响应式调整 ===== */
@media (max-width: 992px) {
    .footer-stats {
        margin-top: var(--spacing-xl);
    }

    .filter-btn-group {
        margin-left: 0;
        width: 100%;
    }

    .filter-btn-group .btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .filter-row {
        gap: var(--spacing-sm);
    }

    .filter-price-group {
        width: 100%;
    }

    .filter-sort-select {
        flex: 1;
    }
}

/* ============================================
   右侧浮动工具栏
   ============================================ */

.floating-toolbar {
    position: fixed;
    right: 20px;
    top: 55%;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-toolbar-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-primary);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-700);
    font-size: 1.2rem;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

.floating-toolbar-btn:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.floating-toolbar-btn .btn-label {
    position: absolute;
    right: 54px;
    white-space: nowrap;
    background: var(--neutral-900);
    color: #fff;
    font-size: var(--text-xs);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.floating-toolbar-btn:hover .btn-label {
    opacity: 1;
}

#back-to-top-btn {
    display: none;
}

@media (max-width: 768px) {
    .floating-toolbar {
        display: none;
    }
}

/* ============================================
   规范化页脚
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, var(--surface-secondary) 0%, #f3f4f6 100%);
    border-top: 1px solid var(--neutral-200);
    padding-top: var(--spacing-xl);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.footer-partners {
    text-align: center;
    padding-bottom: 48px;
}

.footer-partners-title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-md);
}

.footer-partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-partner-logo {
    width: 150px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    color: var(--neutral-600);
    text-align: center;
    padding: 8px;
    transition: opacity 0.2s ease;
    cursor: default;
    line-height: 1.2;
    flex-shrink: 0;
}

.footer-partner-logo:hover {
    opacity: 0.7;
}

.footer-links {
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--neutral-200);
}

.footer-links-col h6 {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-sm);
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: 6px;
}

.footer-links-col ul li a {
    color: var(--neutral-600);
    font-size: var(--text-xs);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-col ul li a:hover {
    color: var(--brand-primary);
}

.footer-copyright {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-bottom: 1px solid var(--neutral-200);
}

.footer-copyright p {
    margin: 0;
    font-size: 12px;
    color: var(--neutral-500);
}

.footer-copyright .footer-copyright-tip {
    font-size: 12px;
    color: var(--neutral-400);
    margin-top: var(--spacing-xs);
}

.footer-copyright a {
    color: var(--neutral-500);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--brand-primary);
}

.footer-disclaimer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: none;
}

.footer-disclaimer p {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--neutral-400);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-links {
        padding-bottom: var(--spacing-sm);
    }

    .footer-links-col {
        margin-bottom: var(--spacing-sm);
    }

    .footer-partner-logos {
        gap: 16px;
    }

    .footer-partner-logo {
        width: 120px;
        height: 48px;
        font-size: 10px;
    }
}

/* ============================================
   行情跑马灯（Hero 下方）
   ============================================ */

.hero-ticker-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--surface-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.ticker-title-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-title-link:hover {
    color: var(--brand-secondary);
}

.ticker-inline {
    flex: 1;
    overflow: hidden;
    padding: 0;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}

.ticker-track .ticker-item {
    white-space: nowrap;
    font-size: var(--text-sm);
    color: var(--neutral-700);
}

.ticker-track .ticker-price {
    font-family: 'Roboto Mono', monospace;
    color: var(--neutral-800);
    margin-left: 4px;
}

.ticker-divider {
    color: var(--neutral-400);
    font-size: var(--text-xs);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   信息快讯
   ============================================ */

.news-card {
    background: var(--surface-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.news-card-title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--neutral-100);
    padding-bottom: var(--spacing-sm);
}

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

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px dashed var(--neutral-100);
    gap: var(--spacing-sm);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li a {
    color: var(--neutral-700);
    font-size: var(--text-sm);
    text-decoration: none;
    line-height: 1.4;
    flex: 1;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.news-list li a:hover {
    color: var(--brand-primary);
}

.news-time {
    color: var(--neutral-400);
    font-size: var(--text-xs);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   核心卖家
   ============================================ */

.seller-card {
    background: var(--surface-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--neutral-200);
}

.seller-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.seller-logo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--neutral-200), var(--neutral-300));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-700);
}

.seller-name {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-xs);
}

.seller-desc {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   商品筛选（垂直分行式）
   ============================================ */

.filter-bar {
    background: var(--surface-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-top: 20px;
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--neutral-200);
}

.filter-category-row {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.filter-category-row:not(:last-child) {
    border-bottom: 1px solid var(--neutral-100);
}

.filter-category-label {
    width: 80px;
    flex-shrink: 0;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-sm);
    color: var(--neutral-800);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.filter-category-label.active,
.filter-category-label:hover {
    background: var(--brand-primary);
    color: #fff;
}

.filter-subtype-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    align-items: center;
    flex: 1;
}

.filter-subtype-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px var(--spacing-sm);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    background: var(--surface-primary);
    color: var(--neutral-600);
    font-size: var(--text-xs);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-subtype-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.filter-subtype-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.filter-options-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--neutral-200);
}

.filter-options-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.filter-options-label {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    font-weight: var(--font-weight-bold);
}

.filter-price-input {
    width: 100px;
    padding: 4px var(--spacing-xs);
    border: 1px solid var(--neutral-700);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--neutral-700);
    background: #ffffff;
}

.filter-price-input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.filter-sort-select {
    padding: 4px var(--spacing-sm);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--neutral-700);
    background: var(--surface-primary);
    cursor: pointer;
}

.filter-sort-select:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.filter-btn-group {
    display: flex;
    gap: var(--spacing-xs);
    margin-left: auto;
}

@media (max-width: 768px) {
    .filter-bar {
        padding: var(--spacing-md);
    }

    .filter-category-row {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .filter-category-label {
        width: auto;
        align-self: flex-start;
    }

    .filter-options-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-btn-group {
        margin-left: 0;
    }
}

/* ============================================
   频道页面通用样式
   ============================================ */

.container.page-transition {
    max-width: 1200px;
}

.news-thumb {
    width: 80px;
    height: 60px;
    background: var(--neutral-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--neutral-400);
}

.partner-logo {
    height: 60px;
    background: var(--neutral-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-500);
    border: 1px solid var(--neutral-200);
    transition: opacity 0.2s ease;
}

.partner-logo:hover {
    opacity: 0.7;
}

.warehouse-map-placeholder {
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    min-height: 300px;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-sm);
    min-height: 250px;
}

.map-region {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    padding: var(--spacing-md);
    transition: transform 0.2s ease;
}

.map-region:hover {
    transform: scale(1.03);
}

.map-region span {
    font-size: var(--text-xs);
    opacity: 0.8;
    margin-top: 4px;
}

.map-northeast { grid-column: 2 / 4; }
.map-north { grid-column: 1 / 2; grid-row: 1 / 2; }
.map-south { grid-column: 3 / 4; grid-row: 2 / 3; }
.map-central { grid-column: 1 / 2; grid-row: 2 / 3; }
.map-west { grid-column: 2 / 3; grid-row: 1 / 3; }

.chart-placeholder-area {
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder-inner {
    text-align: center;
    color: var(--neutral-400);
}

.chart-placeholder-inner .display-4 {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   发展历程时间轴
   ============================================ */

.timeline {
    position: relative;
    padding-left: 32px;
    list-style: none;
    margin: 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--neutral-200);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-primary);
    border: 3px solid var(--brand-primary);
    z-index: 1;
}

.timeline-item:last-child .timeline-marker {
    background: var(--brand-primary);
}

.timeline-content {
    padding-left: var(--spacing-sm);
}

.timeline-content h6 {
    margin-bottom: 2px;
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-800);
}

.timeline-year {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    color: var(--brand-accent);
    margin-bottom: 4px;
}

/* ============================================
   法务条款页面
   ============================================ */

.legal-nav-card {
    position: sticky;
    top: calc(76px + var(--spacing-md));
}

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

.legal-tabs-list li {
    border-bottom: 1px solid var(--neutral-100);
}

.legal-tabs-list li:last-child {
    border-bottom: none;
}

.legal-tab-btn {
    width: 100%;
    text-align: left;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    background: transparent;
    color: var(--neutral-700);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.legal-tab-btn:hover {
    color: var(--brand-primary);
    background: var(--neutral-100);
}

.legal-tab-btn.active {
    color: var(--brand-primary);
    background: rgba(10, 38, 71, 0.05);
    font-weight: var(--font-weight-bold);
    border-left: 3px solid var(--brand-primary);
}

.legal-content-panel {
    display: none;
}

.legal-content-panel.active {
    display: block;
}

.legal-content h6 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--neutral-200);
}

.legal-content p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--neutral-700);
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   资讯列表页面
   ============================================ */

.news-filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-pill);
    background: var(--surface-primary);
    color: var(--neutral-700);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.news-filter-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.news-filter-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.news-list-item {
    cursor: pointer;
    display: block;
    color: inherit;
}

.news-list-item:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.news-item-title {
    font-weight: var(--font-weight-bold);
    color: var(--neutral-900);
    transition: color var(--transition-fast);
}

.news-list-item:hover .news-item-title {
    color: var(--brand-primary);
}

.news-item-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   资讯详情页面
   ============================================ */

.news-detail-title {
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
}

.news-detail-meta {
    border-bottom: 1px solid var(--neutral-200);
}

.news-article-content {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--neutral-800);
}

.news-article-content h6 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.news-article-content p {
    margin-bottom: var(--spacing-sm);
}

.news-nav-card {
    cursor: pointer;
    transition: all var(--transition-fast);
}

.news-nav-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.news-nav-title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    color: var(--neutral-800);
    transition: color var(--transition-fast);
}

.news-nav-card:hover .news-nav-title {
    color: var(--brand-primary);
}

.news-nav-empty {
    font-size: var(--text-sm);
}

/* ============================================
   物流服务页面
   ============================================ */

.logistics-map-placeholder {
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.logistics-map-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.logistics-map-region {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    padding: var(--spacing-lg) var(--spacing-md);
    transition: transform var(--transition-fast);
}

.logistics-map-region:hover {
    transform: scale(1.03);
}

.logistics-map-region span {
    font-size: var(--text-sm);
}

.logistics-map-region span:last-child {
    font-size: var(--text-xs);
    opacity: 0.8;
    margin-top: 2px;
}

.logistics-map-wide {
    grid-column: span 2;
}

/* ============================================
   仓库表格
   ============================================ */

.warehouse-table {
    font-size: var(--text-sm);
}

.warehouse-table thead th {
    background: var(--surface-secondary);
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-800);
    padding: var(--spacing-md);
    white-space: nowrap;
}

.warehouse-table td {
    padding: var(--spacing-md);
    vertical-align: middle;
}

/* ============================================
   联系页面
   ============================================ */

.contact-map-placeholder {
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map-inner {
    text-align: center;
    color: var(--neutral-400);
}

/* ============================================
   页面顶部间距工具类
   ============================================ */

.page-content-wrapper {
    margin-top: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-content-sm { max-width: 800px; }
.page-content-md { max-width: 900px; }
.page-content-lg { max-width: 1000px; }
.page-content-wide { max-width: 1100px; }

/* 关于我们页面 */
.about-intro {
    line-height: 1.8;
}

.text-xs {
    font-size: var(--text-xs);
}

/* ===== K 线图 SVG ===== */
.kline-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 反馈上传区域 ===== */
.feedback-upload-area {
    border: 2px dashed var(--neutral-300);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-upload-area:hover {
    border-color: var(--brand-primary);
    background: var(--neutral-100);
}

.feedback-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

/* ===== 关于我们内容面板 ===== */
.about-content-panel {
    display: none;
}

.about-content-panel.active {
    display: block;
}

/* ===== SVG 中国地图 ===== */
.china-map-svg {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.china-map-svg .city-dot {
    fill: var(--brand-primary);
    stroke: #fff;
    stroke-width: 1.5;
}

.china-map-svg .city-label {
    font-size: 11px;
    fill: var(--neutral-700);
    font-weight: 600;
    text-anchor: middle;
}

/* 更多链接 */
.more-link {
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color 0.2s ease;
}

.more-link:hover {
    color: var(--brand-primary);
}
