        /* ===== 全局重置 ===== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: #f5f7fa;
            color: #1e2a3a;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }
        a { text-decoration: none; color: inherit; }
        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== 顶部导航 ===== */
        .header {
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0,0,0,0.04);
            padding: 12px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        .logo {
            font-size: 22px;
            font-weight: 600;
            color: #1e2a3a;
            letter-spacing: -0.5px;
        }
        .logo span { color: #e67e22; font-weight: 700; }
        .nav {
            display: flex;
            gap: 28px;
            font-size: 14px;
            font-weight: 500;
            color: #5a6b7c;
        }
        .nav a {
            position: relative;
            transition: color 0.2s;
        }
        .nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: #e67e22;
            transition: width 0.3s;
        }
        .nav a:hover::after,
        .nav a.active::after { width: 100%; }
        .nav a:hover { color: #1e2a3a; }

        /* ===== 搜索栏 ===== */
        .search-section {
            background: #fff;
            padding: 18px 0 22px;
            border-bottom: 1px solid #edf0f5;
        }
        .search-box {
            max-width: 560px;
            margin: 0 auto;
            display: flex;
            border-radius: 40px;
            background: #f4f6f9;
            border: 1px solid #e6e9ef;
            transition: border 0.2s, box-shadow 0.2s;
        }
        .search-box:focus-within {
            border-color: #e67e22;
            box-shadow: 0 4px 16px rgba(230,126,34,0.06);
        }
        .search-box input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 11px 20px;
            font-size: 14px;
            outline: none;
            color: #1e2a3a;
        }
        .search-box button {
            background: #e67e22;
            color: #fff;
            border: none;
            padding: 0 24px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
            margin: 3px;
        }
        .search-box button:hover { background: #d35400; }


        /* ===== 版块标题 ===== */
        .section-title {
            font-size: 19px;
            font-weight: 600;
            color: #1e2a3a;
            margin: 32px 0 16px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .section-title .tag {
            font-size: 12px;
            font-weight: 500;
            background: #e6e9ef;
            color: #5a6b7c;
            padding: 0 12px;
            border-radius: 30px;
            line-height: 24px;
        }
        .section-title .more {
            margin-left: auto;
            font-size: 13px;
            color: #99aab7;
            cursor: pointer;
            transition: color 0.2s;
        }
        .section-title .more:hover { color: #e67e22; }

           /* 通用网格 */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(322px, 1fr));
        gap: 20px;
        margin-bottom: 30px;
    }
    /* 卡片通用 */
    .product-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 20px 16px 18px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        text-align: center;
        position: relative;
        border: 1px solid #f0f2f5;
    }
    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    }
	
	    /* 商品图片容器 - 增大了尺寸 */
    .product-image {
        margin: 8px auto 6px;
        border-radius: 12px;
        overflow: hidden;
        background: #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
	 /* 图片链接 - 去除下划线，保持块级 */
    .product-image a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }
    /* 标题链接样式 */
    .product-title a {
        color: #1e293b;
        text-decoration: none;
        display: block;
    }
    .product-title a:hover {
        color: red;
        text-decoration: none;
    }
    /* 有效期标签 */
    .product-expiry {
        font-size: 13px;
        color: #16a34a;
        background: #dcfce7;
        padding: 2px 12px;
        border-radius: 20px;
        display: inline-block;
        margin-top: 4px;
    }
    /* 按钮组 - 两个按钮并排 */
    .button-group {
        display: flex;
        gap: 8px;
        margin-top: 8px;
        width: 100%;
    }
    .button-group .product-btn {
        flex: 1;
        padding: 10px 0;
        font-size: 14px;
        border-radius: 30px;
        border: none;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        text-align: center;
        text-decoration: none;
        display: inline-block;
    }
    .button-group .product-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    /* 各颜色按钮（与之前保持一致） */
    .btn-red { background: linear-gradient(135deg, #f97316, #ea580c); }
    .btn-red:hover:not(:disabled) { background: linear-gradient(135deg, #ea580c, #c2410c); }
    .btn-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
    .btn-blue:hover:not(:disabled) { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
    .btn-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
    .btn-orange:hover:not(:disabled) { background: linear-gradient(135deg, #d97706, #b45309); }
    .btn-gray { background: linear-gradient(135deg, #94a3b8, #64748b); }
    .btn-gray:hover:not(:disabled) { background: linear-gradient(135deg, #64748b, #475569); }
    .btn-copy { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
    .btn-copy:hover:not(:disabled) { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
	
	
    /* 徽章共用 */
    .badge {
        position: absolute;
        top: 12px;
        left: 12px;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 14px;
        border-radius: 30px;
        letter-spacing: 0.5px;
        color: #fff;
    }
    .badge-top { background: #e74c3c; box-shadow: 0 2px 8px rgba(231,76,60,0.3); }
    .badge-headline { background: #2563eb; box-shadow: 0 2px 8px rgba(37,99,235,0.3); }
    .badge-recommend { background: #f59e0b; box-shadow: 0 2px 8px rgba(245,158,11,0.3); }

    .product-icon {
        font-size: 48px;
        line-height: 1.2;
        margin: 8px 0 6px;
    }
    .product-title {
        font-size: 15px;
        font-weight: 500;
        color: #1e293b;
        margin: 6px 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 42px;
        line-height: 1.5;
    }
    .product-prices {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 10px;
        margin-bottom: 4px;
        flex-wrap: wrap;
    }
    .price-now {
        font-size: 24px;
        font-weight: 700;
        color: #e74c3c;
    }
    .price-now::before {
        content: "券后 ";
        font-size: 13px;
        font-weight: 400;
        color: #94a3b8;
    }
    .price-old {
        font-size: 14px;
        color: #cbd5e1;
        text-decoration: line-through;
    }
    .product-coupon {
        border-radius: 30px;
        padding: 4px 16px;
        display: inline-block;
        margin: 10px auto 14px;
        font-size: 14px;
        font-weight: 600;
    }
    .coupon-warm { background: #fef3c7; color: #d97706; }
    .coupon-cool { background: #f1f5f9; color: #475569; }

    .product-btn {
        border: none;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        padding: 12px 0;
        border-radius: 40px;
        cursor: pointer;
        width: 100%;
        transition: background 0.2s;
        letter-spacing: 0.3px;
    }
    .btn-red { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 4px 12px rgba(234,88,12,0.25); }
    .btn-red:hover { background: linear-gradient(135deg, #ea580c, #c2410c); }
    .btn-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
    .btn-blue:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
    .btn-orange { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(245,158,11,0.25); }
    .btn-orange:hover { background: linear-gradient(135deg, #d97706, #b45309); }
    .btn-gray { background: linear-gradient(135deg, #94a3b8, #64748b); box-shadow: 0 4px 12px rgba(100,116,139,0.2); }
    .btn-gray:hover { background: linear-gradient(135deg, #64748b, #475569); }

    .sub-title {
        font-size: 22px;
        font-weight: 700;
        color: #1e293b;
        border-bottom: 3px solid #ccc;
        padding-bottom: 8px;
        margin: 30px 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .sub-title .more-link {
        font-size: 14px;
        font-weight: 400;
        color: #64748b;
        text-decoration: none;
    }
    .sub-title .more-link:hover { text-decoration: underline; }
    .border-top { border-color: #e74c3c; }
    .border-headline { border-color: #2563eb; }
    .border-recommend { border-color: #f59e0b; }
    .border-normal { border-color: #94a3b8; }

        /* ===== 新闻版块 ===== */
        .news-wrapper {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 24px;
            margin-bottom: 20px;
        }
        .news-main {
            background: #fff;
            border-radius: 14px;
            border: 1px solid #edf0f5;
            padding: 8px 20px;
        }
        .news-item {
            display: flex;
            align-items: center;
            padding: 14px 0;
            border-bottom: 1px solid #f0f2f5;
            gap: 16px;
            transition: 0.2s;
            cursor: pointer;
        }
        .news-item:last-child { border-bottom: none; }
        .news-item:hover { color: #e67e22; }
        .news-item .badge {
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 600;
            padding: 2px 12px;
            border-radius: 30px;
            background: #e6e9ef;
            color: #5a6b7c;
        }
        .news-item .badge.hot { background: #fee9e7; color: #e67e22; }
        .news-item .badge.new { background: #e7f3ff; color: #2d7bd4; }
        .news-item .badge.top { background: #ffd93d; color: #8a6d00; }
        .news-item .title {
            flex: 1;
            font-size: 14px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .news-item .date {
            flex-shrink: 0;
            font-size: 12px;
            color: #99aab7;
        }
        .news-side {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .news-side .card {
            background: #fff;
            border-radius: 14px;
            padding: 18px 20px;
            border: 1px solid #edf0f5;
            flex: 1;
        }
        .news-side .card h4 {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        .news-side .card ul {
            list-style: none;
        }
        .news-side .card ul li {
            font-size: 13px;
            color: #5a6b7c;
            padding: 4px 0;
            border-bottom: 1px solid #f4f6f9;
        }
        .news-side .card ul li:last-child { border-bottom: none; }
        .news-side .card ul li a:hover { color: #e67e22; }
        .news-side .card .more-link {
            display: inline-block;
            margin-top: 8px;
            font-size: 13px;
            font-weight: 500;
            color: #e67e22;
        }
        /* 微信二维码卡片特殊样式 */
        .qrcode-card {
            text-align: center;
        }
        .qrcode-card img {
            max-width: 160px;
            width: 100%;
            border-radius: 8px;
            border: 1px solid #edf0f5;
            margin: 10px 0;
        }
        .qrcode-card .hint {
            font-size: 12px;
            color: #99aab7;
        }

        /* ===== 底部 ===== */
        .footer {
            background: #fff;
            color: #5a6b7c;
            padding: 28px 0 16px;
            margin-top: 40px;
            border-top: 1px solid #edf0f5;
        }
        .footer-inner {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
        }
        .footer-col { flex: 1 1 120px; }
        .footer-col h4 { font-size: 14px; font-weight: 600; color: #1e2a3a; margin-bottom: 8px; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 4px; }
        .footer-col ul li a { font-size: 13px; color: #8899aa; transition: color 0.2s; }
        .footer-col ul li a:hover { color: #e67e22; }
        .footer-bottom {
            border-top: 1px solid #edf0f5;
            margin-top: 20px;
            padding-top: 14px;
            text-align: center;
            font-size: 13px;
            color: #99aab7;
        }
        .footer-bottom a { color: #8899aa; }
        .footer-bottom a:hover { color: #e67e22; }

        /* ===== 响应式 ===== */
        @media (max-width: 992px) {
            .product-grid { grid-template-columns: 1fr 1fr; }
            .news-wrapper { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .header-inner { flex-direction: column; gap: 6px; }
            .nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
            .banner { padding: 24px; flex-direction: column; text-align: center; }
            .banner-text h2 { font-size: 22px; }
            .banner-emoji { font-size: 40px; }
            .section-title { font-size: 17px; }
            .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
        }
        @media (max-width: 480px) {
            .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
            .product-card { padding: 10px; }
            .product-title { font-size: 12px; height: 32px; }
            .product-price { font-size: 16px; }
            .news-item .title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
        }
		
/*新闻列表*/
 /* ========== 列表页专属样式 ========== */
.news-list-page { padding: 20px 0; }
.page-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}
.page-header h1 { font-size: 28px; color: #1a1a1a; margin: 0 0 8px 0; }
.page-header .breadcrumb { color: #999; font-size: 14px; }
.page-header .breadcrumb a { color: #2563eb; text-decoration: none; }
.page-header .breadcrumb a:hover { text-decoration: underline; }

/* 列表卡片网格 */
.news-grid { display: flex; flex-direction: column; gap: 25px; }
.news-item {
    display: flex;
    gap: 25px;
    background: #ffffff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f3f3f3;margin: 18px 0;
}
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.news-thumb {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-info h2 { margin: 0 0 10px 0; font-size: 20px; font-weight: 600; }
.news-info h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}
.news-info h2 a:hover { color: #2563eb; }
.news-meta {
    font-size: 14px;
    color: #8c8c8c;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 12px;
}
.news-meta a { color: #2563eb; text-decoration: none; }
.news-desc {
    color: #555;
    line-height: 1.7;
    margin: 0 0 10px 0;
    font-size: 15px;
}
.news-desc .read-more {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    margin-left: 6px;
}
.news-desc .read-more:hover { text-decoration: underline; }

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s;
}
.pagination a:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.pagination .active { background: #2563eb; color: #fff; border-color: #2563eb; pointer-events: none; }

/* 移动端适配 */
@media (max-width: 768px) {
    .news-item { flex-direction: column; padding: 16px; }
    .news-thumb { width: 100%; height: 180px; }
    .news-info h2 { font-size: 18px; }
    .news-meta { font-size: 13px; gap: 10px; }
}


/* ========== 全局重置与字体 ========== */
.article-detail-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 0 60px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* ===== 面包屑 ===== */
.article-breadcrumb {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 30px;
}
.article-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}
.article-breadcrumb a:hover { color: #1d4ed8; }

/* ===== 头部区（标题 + 元信息） ===== */
.article-header {
    text-align: center;
    padding: 40px 20px 35px;
    background: linear-gradient(145deg, #f8faff 0%, #eef2ff 100%);
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.06);
}
.article-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0b1c3a;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
    color: #5a6b8a;
    font-size: 0.95rem;
}
.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-meta a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.article-meta a:hover { color: #1d4ed8; }

/* ===== 特色缩略图 ===== */
.article-thumb {
    margin: -20px 0 35px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.article-thumb img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* ===== 正文排版 ===== */
.article-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #1e293b;
    padding: 0 6px;
}
.article-body p {
    margin: 0 0 1.6em 0;
}
.article-body p:first-of-type::first-letter {
    font-size: 3.2em;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin-right: 10px;
    color: #2563eb;
    font-family: 'Georgia', serif;
}
.article-body h2, .article-body h3 {
    margin: 2.2em 0 0.8em 0;
    font-weight: 600;
    color: #0b1c3a;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.8em auto;
    display: block;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.article-body blockquote {
    margin: 2em 0;
    padding: 1.2em 2em;
    background: #f1f5f9;
    border-left: 6px solid #2563eb;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #334155;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body ul, .article-body ol {
    padding-left: 1.8em;
    margin: 1.2em 0;
}
.article-body li { margin-bottom: 0.4em; }

/* ===== 标签 ===== */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    margin: 30px 0 20px;
    border-top: 1px solid #e9edf4;
    border-bottom: 1px solid #e9edf4;
}
.article-tags .tag-label {
    font-weight: 600;
    color: #1e293b;
    margin-right: 6px;
}
.article-tags a {
    background: #eef2ff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.article-tags a:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== 分享按钮（简单社交样式） ===== */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 40px;
}
.article-share span { color: #5a6b8a; font-weight: 500; }
.article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.2rem;
}
.article-share a:hover {
    background: #2563eb;
    color: #fff;
    transform: scale(1.05);
}

/* ===== 上下篇导航（卡片式） ===== */
.article-pn {
    display: flex;
    gap: 20px;
    margin: 40px 0 50px;
}
.article-pn .pn-item {
    flex: 1;
    background: #fafcff;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    transition: all 0.25s;
}
.article-pn .pn-item:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37,99,235,0.08);
    transform: translateY(-2px);
}
.article-pn .pn-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 6px;
}
.article-pn .pn-link {
    font-size: 1rem;
    font-weight: 500;
    color: #0b1c3a;
    text-decoration: none;
    transition: color 0.2s;
}
.article-pn .pn-link:hover { color: #2563eb; }
.article-pn .prev-item .pn-label::before { content: "← "; }
.article-pn .next-item .pn-label::after { content: " →"; }
.article-pn .next-item { text-align: right; }

/* ===== 相关文章（带缩略图网格） ===== */
.related-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}
.related-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0b1c3a;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-section h3::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #e2e8f0, transparent);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.related-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f1f4f9;
    transition: all 0.25s;
}
.related-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #dbe7fe;
}
.related-item .r-thumb {
    height: 140px;
    background: #eef2f6;
    overflow: hidden;
}
.related-item .r-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.related-item:hover .r-thumb img { transform: scale(1.05); }
.related-item .r-info {
    padding: 16px 18px;
}
.related-item .r-info a {
    text-decoration: none;
    font-weight: 600;
    color: #0b1c3a;
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    transition: color 0.2s;
}
.related-item .r-info a:hover { color: #2563eb; }
.related-item .r-info .r-date {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .article-header { padding: 28px 16px; }
    .article-header h1 { font-size: 2rem; }
    .article-meta { font-size: 0.85rem; gap: 12px; }
    .article-body { font-size: 1rem; }
    .article-pn { flex-direction: column; }
    .article-pn .next-item { text-align: left; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .related-grid { grid-template-columns: 1fr; }
    .article-header h1 { font-size: 1.6rem; }
}


/* ===== 复购优选列表页样式 ===== */
.rebuy-list-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* 页面头部 */
.rebuy-list-header {
    text-align: center;
    margin-bottom: 40px;
}
.rebuy-list-header h1 {
    font-size: 32px;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.rebuy-list-header .breadcrumb {
    color: #888;
    font-size: 14px;
}
.rebuy-list-header .breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

/* 商品网格 */
.rebuy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* 商品卡片 */
.rebuy-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f2f5;
}
.rebuy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.10);
    border-color: #dbe7fe;
}

/* 缩略图 */
.rebuy-card .card-thumb {
    height: 200px;
    background: #f7f9fc;
    overflow: hidden;
    position: relative;
}
.rebuy-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.rebuy-card:hover .card-thumb img {
    transform: scale(1.04);
}
/* 优惠券标签 */
.rebuy-card .coupon-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ff4d4f;
    color: #fff;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255,77,79,0.3);
}

/* 卡片信息 */
.rebuy-card .card-body {
    padding: 18px 20px 22px;
}
.rebuy-card .card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}
.rebuy-card .card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}
.rebuy-card .card-title a:hover {
    color: #2563eb;
}

/* 价格区域 */
.rebuy-card .price-area {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.rebuy-card .price-area .price-current {
    font-size: 28px;
    font-weight: 700;
    color: #ff4d4f;
}
.rebuy-card .price-area .price-current small {
    font-size: 16px;
    font-weight: 400;
}
.rebuy-card .price-area .price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}
.rebuy-card .price-area .coupon-amount {
    background: #fff7e6;
    color: #fa8c16;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

/* 操作按钮 */
.rebuy-card .card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.rebuy-card .btn-coupon {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(255,77,79,0.3);
}
.rebuy-card .btn-coupon:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(255,77,79,0.4);
}
.rebuy-card .tkl-hint {
    font-size: 13px;
    color: #888;
    background: #f5f6fa;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s;
}
.pagination a:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.pagination .active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    pointer-events: none;
}

/* 移动端 */
@media (max-width: 640px) {
    .rebuy-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .rebuy-card .card-thumb {
        height: 150px;
    }
    .rebuy-card .price-area .price-current {
        font-size: 22px;
    }
    .rebuy-card .card-body {
        padding: 14px;
    }
    .rebuy-card .btn-coupon {
        font-size: 13px;
        padding: 8px 16px;
    }
}


/* ===== 复购优选详情页样式 ===== */
.rebuy-detail-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* 面包屑 */
.detail-breadcrumb {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 30px;
}
.detail-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

/* 主商品区：两列布局 */
.product-main {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f2f5;
}
.product-gallery {
    flex: 0 0 42%;
}
.product-gallery .main-image {
    border-radius: 16px;
    overflow: hidden;
    background: #f7f9fc;
}
.product-gallery .main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-info .product-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.3;
}
.product-info .product-sub {
    color: #666;
    font-size: 15px;
    margin-bottom: 8px;
}

/* 价格模块 */
.price-box {
    background: #f8faff;
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px 28px;
    margin: 6px 0 10px;
}
.price-box .price-current {
    font-size: 36px;
    font-weight: 700;
    color: #ff4d4f;
}
.price-box .price-current small {
    font-size: 18px;
    font-weight: 400;
}
.price-box .price-original {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}
.price-box .coupon-tag {
    background: #fff7e6;
    color: #fa8c16;
    padding: 4px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
}

/* 优惠券领取按钮 */
.btn-coupon-large {
    display: inline-block;
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: #fff;
    padding: 14px 36px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255,77,79,0.3);
    text-align: center;
    align-self: flex-start;
    margin: 6px 0;
}
.btn-coupon-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255,77,79,0.4);
}

/* 淘口令 */
.tkl-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f7fc;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px dashed #d0d8e8;
}
.tkl-box .tkl-label {
    font-weight: 600;
    color: #1a1a2e;
}
.tkl-box .tkl-value {
    font-family: 'Courier New', monospace;
    background: #fff;
    padding: 4px 16px;
    border-radius: 30px;
    color: #2563eb;
    font-size: 15px;
    letter-spacing: 0.5px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tkl-box .copy-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}
.tkl-box .copy-btn:hover {
    background: #1d4ed8;
}

/* 商品详情内容 */
.product-content {
    margin-top: 30px;
    padding: 30px 0;
    border-top: 1px solid #eee;
}
.product-content h2 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 20px;
}
.product-content .content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
}
.product-content .content-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

/* 上下篇导航 */
.detail-pn {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}
.detail-pn a {
    color: #2563eb;
    text-decoration: none;
}
.detail-pn .prev::before {
    content: "← ";
}
.detail-pn .next::after {
    content: " →";
}

/* 相关推荐 */
.related-products {
    margin-top: 50px;
}
.related-products h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-products h3::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #e2e8f0, transparent);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.related-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #f0f2f5;
    transition: 0.25s;
}
.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.related-item .r-thumb {
    height: 150px;
    background: #f7f9fc;
    overflow: hidden;
}
.related-item .r-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-item .r-info {
    padding: 14px 16px;
}
.related-item .r-info a {
    text-decoration: none;
    font-weight: 600;
    color: #1a1a2e;
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}
.related-item .r-info .r-price {
    color: #ff4d4f;
    font-weight: 700;
    font-size: 18px;
}

/* 响应式 */
@media (max-width: 768px) {
    .product-main {
        flex-direction: column;
        padding: 20px;
    }
    .product-gallery {
        flex: 1;
    }
    .product-info .product-title {
        font-size: 22px;
    }
    .price-box .price-current {
        font-size: 28px;
    }
    .btn-coupon-large {
        width: 100%;
        text-align: center;
    }
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== 搜索页样式 ===== */
.search-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    /* 使用 Flex 布局让卡片自动换行排列 */
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* 统计信息占据一整行 */
.search-stats {
    flex: 0 0 100%;
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-bottom: 10px;
}
.search-stats strong {
    color: #1a1a2e;
}

/* 搜索表单独立一块，也占满一行 */
.search-form-box {
    flex: 0 0 100%;
    background: linear-gradient(145deg, #f8faff, #eef2ff);
    border-radius: 24px;
    padding: 40px 30px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(37,99,235,0.06);
    text-align: center;
}
.search-form-box h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.search-form-box p {
    color: #666;
    margin: 0 0 24px;
    font-size: 16px;
}
.search-form {
    display: flex;
    max-width: 680px;
    margin: 0 auto;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.search-form .search-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 22px;
    border: 2px solid #dce3ef;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s;
    background: #fff;
}
.search-form .search-input:focus {
    border-color: #2563eb;
}
.search-form .search-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.search-form .search-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

/* 商品卡片（每个卡片作为 flex 子项） */
.search-card {
    flex: 0 0 calc(33.333% - 20px); /* 三列，减去 gap 间隙 */
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f2f5;
}
.search-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.10);
    border-color: #dbe7fe;
}
.search-card .card-thumb {
    background: #f7f9fc;
    overflow: hidden;
    position: relative;
}
.search-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.search-card:hover .card-thumb img {
    transform: scale(1.04);
}
.search-card .coupon-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ff4d4f;
    color: #fff;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255,77,79,0.3);
}
.search-card .card-body {
    padding: 18px 20px 22px;
}
.search-card .card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}
.search-card .card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}
.search-card .card-title a:hover {
    color: #2563eb;
}
.search-card .price-area {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.search-card .price-area .price-current {
    font-size: 28px;
    font-weight: 700;
    color: #ff4d4f;
}
.search-card .price-area .price-current small {
    font-size: 16px;
    font-weight: 400;
}
.search-card .price-area .price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}
.search-card .price-area .coupon-amount {
    background: #fff7e6;
    color: #fa8c16;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}
.search-card .card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.search-card .btn-coupon {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(255,77,79,0.3);
}
.search-card .btn-coupon:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(255,77,79,0.4);
}
.search-card .tkl-hint {
    font-size: 13px;
    color: #888;
    background: #f5f6fa;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* 无结果提示（占满一行） */
.no-result {
    flex: 0 0 100%;
    text-align: center;
    padding: 60px 20px;
    background: #fafcff;
    border-radius: 24px;
    border: 2px dashed #dce3ef;
}
.no-result .icon {
    font-size: 64px;
    margin-bottom: 16px;
}
.no-result h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin: 0 0 10px;
}
.no-result p {
    color: #888;
    font-size: 16px;
    margin: 0;
}
.no-result a {
    color: #2563eb;
    text-decoration: none;
}

/* 分页（占满一行） */
.pagination {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s;
}
.pagination a:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.pagination .active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    pointer-events: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-card {
        flex: 0 0 calc(50% - 15px); /* 两列 */
    }
}
@media (max-width: 480px) {
    .search-card {
        flex: 0 0 100%; /* 一列 */
    }
    .search-form-box {
        padding: 20px 16px;
    }
    .search-form {
        flex-direction: column;
        gap: 12px;
    }
    .search-form .search-input {
        min-width: auto;
        border-radius: 40px;
    }
    .search-form .search-btn {
        width: 100%;
        border-radius: 40px;
    }
}


/* 新增：淘口令复制按钮样式 */
.tkl-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f7fc;
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px dashed #d0d8e8;
}
.tkl-wrapper .tkl-text {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #2563eb;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}
.copy-tkl-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 4px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}
.copy-tkl-btn:hover {
    background: #1d4ed8;
    transform: scale(1.02);
}
.copy-tkl-btn:active {
    transform: scale(0.95);
}