/* style.css - 多主题香烟批发站群样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f6f8; color: #1a1a2e; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* ===== 顶部导航（基础样式） ===== */
.topbar { background: var(--theme); color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 20px; font-weight: 700; color: #fff; }
.logo span { font-size: 12px; opacity: 0.7; margin-left: 6px; font-weight: 400; }
.nav-menu { display: flex; gap: 4px; }
.nav-menu li a { display: block; padding: 8px 14px; color: rgba(255,255,255,0.9); border-radius: 6px; font-size: 14px; transition: all 0.2s; }
.nav-menu li a:hover, .nav-menu li a.active { background: rgba(255,255,255,0.15); color: #fff; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* ===== 通用区块 ===== */
.section-title { font-size: 22px; font-weight: 700; margin: 20px 0 16px; padding-left: 12px; border-left: 4px solid var(--theme); }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 30px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; }

/* 文章卡片 */
.article-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.article-card .cover { height: 160px; overflow: hidden; }
.article-card .cover svg { width: 100%; height: 100%; }
.article-card .body { padding: 14px; }
.article-card .title { font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .excerpt { font-size: 13px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.article-card .meta { font-size: 12px; color: #999; display: flex; justify-content: space-between; }
.article-card .meta .cat { color: var(--theme); font-weight: 500; }

/* 产品卡片 */
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.product-card .cover { height: 180px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fafafa; }
.product-card .cover svg { width: 100%; height: 100%; }
.product-card .body { padding: 14px; }
.product-card .name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.product-card .brand { font-size: 12px; color: #999; margin-bottom: 8px; }
.product-card .price { font-size: 18px; color: #e53e3e; font-weight: 700; margin-bottom: 10px; }
.buy-btn { display: block; width: 100%; padding: 8px; background: var(--theme); color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; transition: opacity 0.2s; }
.buy-btn:hover { opacity: 0.9; }

/* ===== 英雄区 Banner ===== */
.hero { background: var(--gradient); color: #fff; padding: 50px 20px; text-align: center; }
.hero h1 { font-size: 32px; margin-bottom: 12px; }
.hero p { font-size: 15px; opacity: 0.9; margin-bottom: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-btn { padding: 10px 24px; border-radius: 25px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: all 0.2s; }
.hero-btn.primary { background: #fff; color: var(--theme); }
.hero-btn.primary:hover { transform: scale(1.05); }
.hero-btn.secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.hero-btn.secondary:hover { border-color: #fff; }

/* ===== 分类栏 ===== */
.cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; padding: 12px; background: #fff; border-radius: 8px; }
.cat-bar a { padding: 6px 14px; background: #f0f2f5; border-radius: 20px; font-size: 13px; color: #555; transition: all 0.2s; }
.cat-bar a:hover { background: var(--theme); color: #fff; }

/* ===== 分页 ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 30px 0; }
.pagination a { padding: 6px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 13px; color: #555; }
.pagination a.active { background: var(--theme); color: #fff; border-color: var(--theme); }

/* ===== 文章详情 ===== */
.article-detail { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.article-detail h1 { font-size: 24px; margin-bottom: 12px; }
.article-detail .meta { font-size: 13px; color: #999; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.article-detail .content { font-size: 15px; line-height: 1.8; color: #333; }
.article-detail .content h2 { font-size: 18px; margin: 25px 0 12px; color: var(--theme); }
.article-detail .content p { margin-bottom: 15px; }

/* ===== 产品详情 ===== */
.product-detail { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.product-info h1 { font-size: 24px; margin-bottom: 12px; }
.product-info .price { font-size: 28px; color: #e53e3e; font-weight: 700; margin: 15px 0; }
.product-info .desc { color: #666; margin-bottom: 20px; line-height: 1.8; }

/* ===== 相关推荐 ===== */
.related { margin-top: 30px; }
.related h3 { font-size: 18px; margin-bottom: 15px; padding-left: 10px; border-left: 3px solid var(--theme); }

/* ===== 咨询按钮 ===== */
.consult-btn { display: inline-block; padding: 10px 30px; background: var(--theme); color: #fff; border: none; border-radius: 25px; font-size: 14px; cursor: pointer; transition: all 0.2s; font-weight: 500; }
.consult-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ===== 微信咨询弹窗 ===== */
.wechat-float { position: fixed; right: 20px; bottom: 80px; z-index: 999; }
.wechat-btn { width: 50px; height: 50px; border-radius: 50%; background: #07c160; color: #fff; border: none; font-size: 16px; font-weight: bold; cursor: pointer; box-shadow: 0 4px 15px rgba(7,193,96,0.4); transition: transform 0.2s; }
.wechat-btn:hover { transform: scale(1.1); }
.wechat-modal { display: none; position: fixed; right: 80px; bottom: 80px; width: 280px; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 1000; }
.wechat-modal.show { display: block; }
.wechat-modal h3 { font-size: 16px; margin-bottom: 8px; color: #333; }
.wechat-modal p { font-size: 12px; color: #999; margin-bottom: 15px; }
.wechat-modal .qr-box { text-align: center; margin-bottom: 15px; }
.wechat-modal .qr-box svg { margin: 0 auto; }
.wechat-modal .wx-id { text-align: center; font-size: 14px; color: #333; margin-bottom: 12px; font-weight: 500; }
.wechat-modal .copy-btn { width: 100%; padding: 8px; background: #07c160; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; }
.wechat-modal .close { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 20px; color: #999; cursor: pointer; }

/* ===== 页脚 ===== */
.footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 40px 20px 20px; margin-top: 50px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 15px; }
.footer ul li { margin-bottom: 8px; font-size: 13px; }
.footer ul li a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== 404页面 ===== */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 72px; color: var(--theme); margin-bottom: 10px; }
.error-page p { color: #666; margin-bottom: 20px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--theme); flex-direction: column; padding: 10px; }
  .nav-menu.show { display: flex; }
  .nav-menu li a { padding: 10px 14px; }
  .hero { padding: 30px 15px; }
  .hero h1 { font-size: 22px; }
  .product-top { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .wechat-float { right: 10px; bottom: 60px; }
  .wechat-modal { right: 10px; bottom: 120px; width: 260px; }
  .article-detail, .product-detail { padding: 15px; }
}

/* ================================================================ */
/* ===== 主题差异化样式 - 12个主题各有独特布局 ===== */
/* ================================================================ */

/* ===== 主题1: theme-classic 经典商务风（www主站） ===== */
.theme-classic .topbar { height: 70px; }
.theme-classic .topbar-inner { height: 70px; }
.theme-classic .logo { font-size: 22px; letter-spacing: 1px; }
.theme-classic .hero { padding: 60px 20px; position: relative; overflow: hidden; }
.theme-classic .hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.theme-classic .hero::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 300px; height: 300px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.theme-classic .hero h1 { font-size: 36px; position: relative; z-index: 1; }
.theme-classic .section-title { font-size: 24px; padding: 10px 0 10px 16px; border-left: none; border-bottom: 2px solid #eee; position: relative; }
.theme-classic .section-title::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: var(--theme); }
.theme-classic .product-card { border-radius: 12px; border: 1px solid #eee; }
.theme-classic .product-card:hover { border-color: var(--accent); }

/* ===== 主题2: theme-mobile 移动端简洁风（m站） ===== */
.theme-mobile .topbar { height: 56px; background: #fff; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.theme-mobile .topbar-inner { height: 56px; }
.theme-mobile .logo { color: var(--theme); font-size: 18px; }
.theme-mobile .logo span { color: #999; }
.theme-mobile .nav-menu li a { color: #555; }
.theme-mobile .nav-menu li a:hover, .theme-mobile .nav-menu li a.active { background: var(--theme); color: #fff; }
.theme-mobile .hero { padding: 25px 15px; border-radius: 0 0 20px 20px; }
.theme-mobile .hero h1 { font-size: 20px; }
.theme-mobile .hero p { font-size: 13px; }
.theme-mobile .article-grid, .theme-mobile .product-grid { grid-template-columns: 1fr; gap: 12px; }
.theme-mobile .article-card, .theme-mobile .product-card { border-radius: 8px; display: flex; }
.theme-mobile .article-card .cover { width: 120px; height: 90px; flex-shrink: 0; }
.theme-mobile .article-card .body { padding: 10px 12px; flex: 1; }
.theme-mobile .article-card .title { font-size: 14px; }
.theme-mobile .section-title { font-size: 18px; margin: 15px 0 12px; }
.theme-mobile .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
.theme-mobile .wechat-float { bottom: 20px; right: 15px; }
.theme-mobile .wechat-btn { width: 45px; height: 45px; }

/* ===== 主题3: theme-wap WAP极简风 ===== */
.theme-wap body { background: #fff; }
.theme-wap .topbar { background: var(--theme); height: 48px; }
.theme-wap .topbar-inner { height: 48px; padding: 0 12px; }
.theme-wap .logo { font-size: 16px; }
.theme-wap .logo span { display: none; }
.theme-wap .hero { padding: 20px 12px; text-align: left; }
.theme-wap .hero h1 { font-size: 18px; margin-bottom: 6px; }
.theme-wap .hero p { font-size: 12px; margin: 0; }
.theme-wap .hero-btns { display: none; }
.theme-wap .section-title { font-size: 16px; padding: 8px 10px; margin: 10px 0; background: #f5f6f8; border-left: 3px solid var(--theme); border-radius: 0 4px 4px 0; }
.theme-wap .article-grid, .theme-wap .product-grid { grid-template-columns: 1fr; gap: 8px; padding: 0 10px; }
.theme-wap .article-card { border-radius: 0; box-shadow: none; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; }
.theme-wap .article-card:hover { transform: none; background: #fafafa; }
.theme-wap .article-card .cover { width: 80px; height: 60px; flex-shrink: 0; border-radius: 4px; overflow: hidden; margin: 10px; }
.theme-wap .article-card .body { padding: 10px 10px 10px 0; flex: 1; }
.theme-wap .article-card .title { font-size: 14px; -webkit-line-clamp: 1; }
.theme-wap .article-card .excerpt { display: none; }
.theme-wap .article-card .meta { font-size: 11px; }
.theme-wap .product-card { border-radius: 6px; box-shadow: none; border: 1px solid #eee; }
.theme-wap .product-card .cover { height: 120px; }
.theme-wap .product-card .body { padding: 8px; }
.theme-wap .product-card .name { font-size: 13px; }
.theme-wap .product-card .price { font-size: 15px; margin-bottom: 6px; }
.theme-wap .buy-btn { padding: 5px; font-size: 12px; }
.theme-wap .cat-bar { padding: 8px 10px; margin: 10px 0; border-radius: 0; background: #fafafa; }
.theme-wap .cat-bar a { padding: 4px 10px; font-size: 12px; }
.theme-wap .footer { padding: 20px 12px; font-size: 12px; }
.theme-wap .footer-inner { grid-template-columns: 1fr; gap: 15px; }
.theme-wap .footer h4 { font-size: 13px; margin-bottom: 8px; }
.theme-wap .footer ul { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-wap .footer ul li { margin-bottom: 0; font-size: 12px; }
.theme-wap .wechat-float { right: 10px; bottom: 20px; }
.theme-wap .wechat-btn { width: 40px; height: 40px; font-size: 14px; }
.theme-wap .wechat-modal { width: 240px; right: 10px; bottom: 70px; padding: 15px; }

/* ===== 主题4: theme-app APP推广风 ===== */
.theme-app .topbar { background: #fff; color: #333; border-bottom: 1px solid #eee; }
.theme-app .logo { color: var(--theme); }
.theme-app .nav-menu li a { color: #555; }
.theme-app .nav-menu li a:hover, .theme-app .nav-menu li a.active { background: var(--theme); color: #fff; }
.theme-app .hero { padding: 60px 20px; position: relative; overflow: hidden; }
.theme-app .hero h1 { font-size: 34px; margin-bottom: 15px; }
.theme-app .hero-btns { margin-top: 25px; }
.theme-app .hero-btn { padding: 12px 30px; font-size: 15px; border-radius: 30px; }
.theme-app .hero-btn.primary { background: #fff; color: var(--theme); font-weight: 600; }
.theme-app .section-title { text-align: center; border-left: none; font-size: 24px; position: relative; padding-bottom: 12px; }
.theme-app .section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--theme); border-radius: 2px; }
.theme-app .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.theme-app .product-card { border-radius: 16px; text-align: center; }
.theme-app .product-card .cover { height: 200px; }
.theme-app .product-card .body { padding: 18px; }
.theme-app .product-card .name { font-size: 16px; }
.theme-app .product-card .price { font-size: 20px; }
.theme-app .buy-btn { border-radius: 20px; padding: 10px; }

/* ===== 主题5: theme-vietnam 越南风情 ===== */
.theme-vietnam body { background: #fff8f6; }
.theme-vietnam .topbar { background: var(--gradient); box-shadow: 0 3px 15px rgba(220,38,38,0.3); }
.theme-vietnam .hero { position: relative; }
.theme-vietnam .hero::before { content: '🇻🇳'; position: absolute; top: 20px; right: 40px; font-size: 60px; opacity: 0.2; }
.theme-vietnam .section-title { color: var(--theme); border-left-color: var(--theme); font-size: 22px; }
.theme-vietnam .product-card { border: 2px solid #fee2e2; border-radius: 12px; }
.theme-vietnam .product-card:hover { border-color: var(--accent); }
.theme-vietnam .product-card .price { color: var(--theme); }
.theme-vietnam .buy-btn { background: var(--theme); border-radius: 20px; }
.theme-vietnam .article-card { border-radius: 12px; border: 1px solid #fee2e2; }
.theme-vietnam .cat-bar a { background: #fef2f2; color: #991b1b; }
.theme-vietnam .cat-bar a:hover { background: var(--theme); color: #fff; }
.theme-vietnam .footer { background: #450a0a; }

/* ===== 主题6: theme-guangxi 广西代购清新风 ===== */
.theme-guangxi body { background: #f0fdf4; }
.theme-guangxi .topbar { background: var(--gradient); }
.theme-guangxi .hero { position: relative; }
.theme-guangxi .hero::before { content: '🌿'; position: absolute; top: 15px; left: 30px; font-size: 50px; opacity: 0.15; }
.theme-guangxi .hero::after { content: '🌴'; position: absolute; bottom: 10px; right: 30px; font-size: 60px; opacity: 0.15; }
.theme-guangxi .section-title { color: #065f46; border-left-color: #10b981; }
.theme-guangxi .product-card { border-radius: 14px; box-shadow: 0 4px 15px rgba(16,185,129,0.1); }
.theme-guangxi .product-card:hover { box-shadow: 0 8px 25px rgba(16,185,129,0.2); }
.theme-guangxi .product-card .price { color: #059669; }
.theme-guangxi .buy-btn { background: linear-gradient(135deg, #059669, #10b981); border-radius: 8px; }
.theme-guangxi .article-card { border-radius: 14px; box-shadow: 0 4px 15px rgba(16,185,129,0.08); }
.theme-guangxi .cat-bar a { background: #d1fae5; color: #065f46; }
.theme-guangxi .cat-bar a:hover { background: #10b981; color: #fff; }
.theme-guangxi .footer { background: #064e3b; }

/* ===== 主题7: theme-cambodia 柬埔寨热情风 ===== */
.theme-cambodia body { background: #fff7ed; }
.theme-cambodia .topbar { background: var(--gradient); box-shadow: 0 3px 15px rgba(249,115,22,0.3); }
.theme-cambodia .hero { position: relative; }
.theme-cambodia .hero::before { content: '🏛️'; position: absolute; top: 20px; right: 50px; font-size: 70px; opacity: 0.15; }
.theme-cambodia .section-title { color: #9a3412; border-left-color: #f97316; }
.theme-cambodia .product-card { border-radius: 8px; border: 2px dashed #fed7aa; transition: all 0.3s; }
.theme-cambodia .product-card:hover { border-style: solid; border-color: #f97316; transform: translateY(-4px) rotate(0.5deg); }
.theme-cambodia .product-card .price { color: #ea580c; font-size: 20px; }
.theme-cambodia .buy-btn { background: linear-gradient(135deg, #ea580c, #f97316); border-radius: 6px; font-weight: 600; }
.theme-cambodia .article-card { border-radius: 8px; border: 1px solid #fed7aa; }
.theme-cambodia .article-card .meta .cat { color: #ea580c; }
.theme-cambodia .cat-bar a { background: #ffedd5; color: #9a3412; border-radius: 4px; }
.theme-cambodia .cat-bar a:hover { background: #f97316; color: #fff; }
.theme-cambodia .footer { background: #7c2d12; }

/* ===== 主题8: theme-sea 东南亚科技风 ===== */
.theme-sea body { background: #ecfeff; }
.theme-sea .topbar { background: linear-gradient(90deg, #0e7490, #06b6d4); }
.theme-sea .logo { background: linear-gradient(90deg, #fff, #67e8f9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.theme-sea .hero { background: linear-gradient(135deg, #0e7490 0%, #06b6d4 50%, #22d3ee 100%); position: relative; overflow: hidden; }
.theme-sea .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.theme-sea .section-title { color: #0e7490; border-left-color: #06b6d4; position: relative; }
.theme-sea .product-card { border-radius: 16px; background: #fff; box-shadow: 0 4px 20px rgba(6,182,212,0.12); border: 1px solid #cffafe; }
.theme-sea .product-card:hover { box-shadow: 0 8px 30px rgba(6,182,212,0.2); }
.theme-sea .product-card .price { color: #0891b2; }
.theme-sea .buy-btn { background: linear-gradient(135deg, #0891b2, #06b6d4); border-radius: 12px; }
.theme-sea .article-card { border-radius: 12px; border: 1px solid #cffafe; }
.theme-sea .article-card .meta .cat { color: #0891b2; }
.theme-sea .cat-bar a { background: #cffafe; color: #0e7490; }
.theme-sea .cat-bar a:hover { background: #06b6d4; color: #fff; }
.theme-sea .footer { background: #164e63; }

/* ===== 主题9: theme-wholesale 批发总站风 ===== */
.theme-wholesale body { background: #fef2f2; }
.theme-wholesale .topbar { background: #7f1d1d; }
.theme-wholesale .logo { font-size: 22px; }
.theme-wholesale .hero { background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%); position: relative; }
.theme-wholesale .hero h1 { font-size: 34px; }
.theme-wholesale .hero::before { content: '💰 厂家直销 货到付款 💰'; display: block; font-size: 14px; background: rgba(255,255,255,0.2); padding: 6px 20px; border-radius: 20px; margin-bottom: 15px; }
.theme-wholesale .section-title { color: #991b1b; border-left-color: #dc2626; font-size: 22px; }
.theme-wholesale .product-card { border-radius: 4px; border: 2px solid #fecaca; position: relative; overflow: visible; }
.theme-wholesale .product-card::before { content: '批发价'; position: absolute; top: -1px; left: -1px; background: #dc2626; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px 0 4px 0; z-index: 2; }
.theme-wholesale .product-card .price { font-size: 22px; color: #991b1b; }
.theme-wholesale .product-card .price::before { content: '¥'; font-size: 14px; margin-right: 2px; }
.theme-wholesale .buy-btn { background: #dc2626; border-radius: 4px; font-weight: 600; letter-spacing: 1px; }
.theme-wholesale .buy-btn:hover { background: #991b1b; }
.theme-wholesale .article-card { border-radius: 4px; border-left: 3px solid #dc2626; }
.theme-wholesale .cat-bar a { background: #fee2e2; color: #991b1b; font-weight: 500; }
.theme-wholesale .cat-bar a:hover { background: #dc2626; color: #fff; }
.theme-wholesale .footer { background: #450a0a; }

/* ===== 主题10: theme-yunxiao 云霄复古风 ===== */
.theme-yunxiao body { background: #faf5f2; }
.theme-yunxiao .topbar { background: linear-gradient(135deg, #431407, #7c2d12); }
.theme-yunxiao .logo { font-family: "STKaiti", "KaiTi", serif; font-size: 22px; }
.theme-yunxiao .hero { background: linear-gradient(135deg, #431407 0%, #7c2d12 50%, #9a3412 100%); position: relative; }
.theme-yunxiao .hero::before { content: '云霄特产'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 80px; font-family: "STKaiti", "KaiTi", serif; opacity: 0.08; white-space: nowrap; }
.theme-yunxiao .section-title { color: #7c2d12; border-left-color: #c2410c; font-family: "STKaiti", "KaiTi", serif; font-size: 22px; }
.theme-yunxiao .product-card { border-radius: 2px; background: #fff; border: 1px solid #e7d5c7; box-shadow: 2px 2px 8px rgba(124,45,18,0.08); }
.theme-yunxiao .product-card:hover { border-color: #c2410c; transform: translateY(-2px); }
.theme-yunxiao .product-card .name { font-family: "STKaiti", "KaiTi", serif; font-size: 16px; }
.theme-yunxiao .product-card .price { color: #9a3412; }
.theme-yunxiao .buy-btn { background: #9a3412; border-radius: 2px; font-family: "STKaiti", "KaiTi", serif; }
.theme-yunxiao .article-card { border-radius: 2px; border: 1px solid #e7d5c7; }
.theme-yunxiao .article-card .meta .cat { color: #9a3412; font-family: "STKaiti", "KaiTi", serif; }
.theme-yunxiao .cat-bar a { background: #f5e6d3; color: #7c2d12; font-family: "STKaiti", "KaiTi", serif; border-radius: 2px; }
.theme-yunxiao .cat-bar a:hover { background: #9a3412; color: #fff; }
.theme-yunxiao .footer { background: #2c0b03; }
.theme-yunxiao .footer h4 { font-family: "STKaiti", "KaiTi", serif; }

/* ===== 主题11: theme-dutyfree 免税店清爽风 ===== */
.theme-dutyfree body { background: #eff6ff; }
.theme-dutyfree .topbar { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.theme-dutyfree .hero { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #3b82f6 100%); position: relative; overflow: hidden; }
.theme-dutyfree .hero::before { content: '✈️ 免税直供 正品保障 ✈️'; display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 20px; border-radius: 20px; font-size: 13px; margin-bottom: 15px; }
.theme-dutyfree .section-title { color: #1e40af; border-left-color: #3b82f6; }
.theme-dutyfree .product-card { border-radius: 16px; background: #fff; box-shadow: 0 4px 15px rgba(59,130,246,0.1); border: 1px solid #dbeafe; }
.theme-dutyfree .product-card:hover { box-shadow: 0 8px 25px rgba(59,130,246,0.2); }
.theme-dutyfree .product-card .price { color: #2563eb; }
.theme-dutyfree .product-card .price::before { content: '免税价 ¥'; font-size: 12px; color: #93c5fd; }
.theme-dutyfree .buy-btn { background: linear-gradient(135deg, #2563eb, #3b82f6); border-radius: 20px; font-weight: 500; }
.theme-dutyfree .article-card { border-radius: 12px; border: 1px solid #dbeafe; }
.theme-dutyfree .article-card .meta .cat { color: #2563eb; }
.theme-dutyfree .cat-bar a { background: #dbeafe; color: #1e40af; }
.theme-dutyfree .cat-bar a:hover { background: #2563eb; color: #fff; }
.theme-dutyfree .footer { background: #1e3a8a; }

/* ===== 主题12: theme-capsule 爆珠梦幻风 ===== */
.theme-capsule body { background: #faf5ff; }
.theme-capsule .topbar { background: linear-gradient(135deg, #5b21b6, #7c3aed); box-shadow: 0 3px 15px rgba(139,92,246,0.3); }
.theme-capsule .hero { background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 30%, #a855f7 60%, #c084fc 100%); position: relative; overflow: hidden; }
.theme-capsule .hero::before { content: ''; position: absolute; top: -50%; left: -20%; width: 300px; height: 300px; background: rgba(255,255,255,0.1); border-radius: 50%; filter: blur(40px); }
.theme-capsule .hero::after { content: ''; position: absolute; bottom: -30%; right: -10%; width: 250px; height: 250px; background: rgba(255,255,255,0.1); border-radius: 50%; filter: blur(30px); }
.theme-capsule .section-title { color: #6b21a8; border-left: none; background: linear-gradient(90deg, #f3e8ff, transparent); padding: 10px 15px; border-radius: 0 20px 20px 0; }
.theme-capsule .product-card { border-radius: 20px; background: linear-gradient(145deg, #fff, #faf5ff); box-shadow: 0 4px 20px rgba(139,92,246,0.15); border: 1px solid #e9d5ff; }
.theme-capsule .product-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 10px 30px rgba(139,92,246,0.25); }
.theme-capsule .product-card .price { background: linear-gradient(90deg, #7c3aed, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.theme-capsule .buy-btn { background: linear-gradient(135deg, #7c3aed, #a855f7, #c084fc); border-radius: 25px; font-weight: 500; position: relative; overflow: hidden; }
.theme-capsule .buy-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.theme-capsule .buy-btn:hover::before { left: 100%; }
.theme-capsule .article-card { border-radius: 16px; border: 1px solid #e9d5ff; background: #fff; }
.theme-capsule .article-card .meta .cat { color: #7c3aed; }
.theme-capsule .cat-bar a { background: #f3e8ff; color: #6b21a8; border-radius: 15px; }
.theme-capsule .cat-bar a:hover { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.theme-capsule .footer { background: linear-gradient(135deg, #4c1d95, #5b21b6); }
.theme-capsule .wechat-btn { background: linear-gradient(135deg, #7c3aed, #a855f7); box-shadow: 0 4px 15px rgba(139,92,246,0.4); }

/* ================================================================ */
/* ===== 新首页 - 专业B2B批发风格样式 ===== */
/* ================================================================ */

/* ===== 通用按钮 ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: all 0.25s; text-decoration: none; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-primary { background: var(--theme); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-primary i { font-style: normal; transition: transform 0.2s; }
.btn-primary:hover i { transform: translateX(3px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-white { background: #fff; color: var(--theme); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-white i { font-style: normal; transition: transform 0.2s; }
.btn-white:hover i { transform: translateX(3px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-text { background: transparent; color: var(--theme); padding: 10px 0; }
.btn-text:hover { color: var(--accent); }

/* ===== Section 通用头部 ===== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-block; padding: 6px 16px; background: var(--theme); color: #fff; font-size: 13px; border-radius: 20px; margin-bottom: 12px; opacity: 0.9; }
.section-heading { font-size: 32px; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.section-desc { font-size: 15px; color: #666; max-width: 600px; margin: 0 auto; }
.section-more { color: var(--theme); font-size: 14px; font-weight: 500; margin-top: 10px; display: inline-block; }
.section-more:hover { color: var(--accent); }

/* ===== 1. Hero Banner ===== */
.hero-banner { position: relative; background: var(--gradient); color: #fff; padding: 80px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
.hero-pattern { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 40%); }
.hero-shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.shape-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 30px; font-size: 13px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.2); }
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { font-size: 44px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-desc { font-size: 16px; opacity: 0.9; line-height: 1.8; margin-bottom: 28px; max-width: 520px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.feature-icon { width: 22px; height: 22px; background: rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.hero-btns { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat-item { text-align: center; padding: 0 30px; }
.stat-item strong { display: block; font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.stat-item span { font-size: 13px; opacity: 0.8; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* Hero 右侧产品卡片 */
.hero-visual { position: relative; height: 400px; }
.hero-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); padding: 24px; color: #333; }
.card-main { top: 20px; right: 40px; width: 260px; z-index: 3; }
.card-badge { position: absolute; top: -12px; left: 24px; background: #ef4444; color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 12px; font-weight: 500; }
.card-product-name { font-size: 22px; font-weight: 700; color: var(--theme); margin-top: 8px; margin-bottom: 4px; }
.card-product-sub { font-size: 14px; color: #666; margin-bottom: 16px; }
.card-product-price { font-size: 32px; font-weight: 800; color: #ef4444; margin-bottom: 16px; }
.card-tags { display: flex; gap: 8px; }
.card-tags span { padding: 4px 10px; background: #fef3c7; color: #d97706; font-size: 12px; border-radius: 4px; }
.card-sub { width: 180px; padding: 16px; z-index: 2; }
.card-sub-1 { top: 0; left: 20px; transform: rotate(-8deg); }
.card-sub-2 { bottom: 20px; left: 60px; transform: rotate(5deg); }
.mini-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #333; }
.mini-price { font-size: 18px; font-weight: 700; color: #ef4444; }

/* ===== 2. 核心优势 ===== */
.advantages-section { padding: 80px 0; background: #fff; }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card { background: #f8fafc; border-radius: 16px; padding: 32px 24px; text-align: center; transition: all 0.3s; border: 1px solid transparent; }
.advantage-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); border-color: var(--theme); background: #fff; }
.adv-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: linear-gradient(135deg, var(--theme), var(--accent)); }
.advantage-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: #1a1a2e; }
.advantage-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===== 3. 产品分类 ===== */
.category-section { padding: 80px 0; background: #f8fafc; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { display: block; background: #fff; border-radius: 16px; padding: 30px; transition: all 0.3s; border: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); border-color: var(--theme); }
.category-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient); transform: scaleX(0); transition: transform 0.3s; }
.category-card:hover::before { transform: scaleX(1); }
.cat-icon { font-size: 40px; margin-bottom: 16px; }
.category-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: #1a1a2e; }
.cat-arrow { font-size: 13px; color: var(--theme); font-weight: 500; }

/* ===== 4. 热门产品展示 ===== */
.products-section { padding: 80px 0; background: #fff; }
.products-section .section-header { display: flex; flex-direction: column; align-items: center; }
.product-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-showcase-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.3s; }
.product-showcase-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); border-color: var(--theme); }
.product-image-wrap { position: relative; overflow: hidden; }
.product-image-wrap svg { width: 100%; transition: transform 0.3s; }
.product-showcase-card:hover .product-image-wrap svg { transform: scale(1.05); }
.product-badge { position: absolute; top: 12px; left: 12px; background: #ef4444; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 4px; font-weight: 500; }
.product-info { padding: 18px; }
.product-brand { font-size: 12px; color: #999; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { display: block; font-size: 15px; font-weight: 600; color: #1a1a2e; margin-bottom: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.product-name:hover { color: var(--theme); }
.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price-tag { font-size: 20px; font-weight: 700; color: #ef4444; }
.product-consult-btn { padding: 6px 16px; background: var(--theme); color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.product-consult-btn:hover { background: var(--accent); }

/* ===== 5. 关于我们区域 ===== */
.about-section { padding: 80px 0; background: #f8fafc; }
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-img-main { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.about-img-main svg { width: 100%; display: block; }
.about-badge-card { position: absolute; bottom: 30px; right: -20px; background: #fff; padding: 24px 32px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); text-align: center; }
.about-badge-card strong { display: block; font-size: 36px; font-weight: 800; color: var(--theme); line-height: 1; margin-bottom: 4px; }
.about-badge-card span { font-size: 13px; color: #666; }
.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-heading { text-align: left; margin-bottom: 20px; }
.about-text { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 24px; }
.about-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.about-feat { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #333; }
.feat-check { width: 24px; height: 24px; background: var(--theme); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.about-btns { display: flex; gap: 20px; align-items: center; }

/* ===== 6. 资讯文章区域 ===== */
.news-section { padding: 80px 0; background: #fff; }
.news-section .section-header { display: flex; flex-direction: column; align-items: center; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); border-color: var(--theme); }
.news-cover { display: block; overflow: hidden; }
.news-cover svg { width: 100%; display: block; transition: transform 0.3s; }
.news-card:hover .news-cover svg { transform: scale(1.05); }
.news-body { padding: 22px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; }
.news-cat { color: var(--theme); font-weight: 500; }
.news-date { color: #999; }
.news-title { display: block; font-size: 17px; font-weight: 600; color: #1a1a2e; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 51px; }
.news-title:hover { color: var(--theme); }
.news-excerpt { font-size: 14px; color: #666; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.news-readmore { font-size: 14px; color: var(--theme); font-weight: 500; }
.news-readmore:hover { color: var(--accent); }

/* ===== 7. CTA咨询区域 ===== */
.cta-section { padding: 80px 0; }
.cta-wrap { position: relative; background: var(--gradient); border-radius: 24px; padding: 60px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; overflow: hidden; }
.cta-bg-decor { position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.cta-content { position: relative; z-index: 1; color: #fff; }
.cta-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-content p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }
.cta-btns { display: flex; gap: 16px; }
.cta-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.cta-qr { background: #fff; padding: 24px; border-radius: 16px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.cta-qr svg { margin: 0 auto 12px; }
.cta-qr p { font-size: 13px; color: #666; margin: 0; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-banner { padding: 50px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-features { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-showcase { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-badge-card { right: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-wrap { grid-template-columns: 1fr; text-align: center; padding: 40px 24px; }
  .cta-btns { justify-content: center; }
  .section-heading { font-size: 24px; }
  .hero-title { font-size: 30px; }
}

@media (max-width: 640px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .product-showcase { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 13px; min-height: 36px; }
  .product-price-tag { font-size: 16px; }
  .product-consult-btn { padding: 5px 10px; font-size: 12px; }
  .hero-title { font-size: 24px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-item { padding: 0 16px; }
  .stat-divider { display: none; }
  .section-heading { font-size: 20px; }
  .advantages-section, .category-section, .products-section, .about-section, .news-section { padding: 50px 0; }
  .advantage-card { padding: 24px 16px; }
  .category-card { padding: 20px; }
  .cta-wrap { padding: 30px 20px; }
  .cta-content h2 { font-size: 22px; }
  .about-badge-card { right: 10px; bottom: 15px; padding: 16px 20px; }
  .about-badge-card strong { font-size: 24px; }
}
