/* ============================================================
   Maicai 卖菜平台 - 主样式表
   ============================================================
   说明：本文件为卖菜平台完整样式，包括：
   1. 基础重置与全局变量
   2. 顶部公告栏
   3. 头部（Logo、搜索、登录）
   4. 主导航
   5. Banner/轮播
   6. 快捷入口
   7. 质检中心
   8. 溯源追踪
   9. 农场直供
   10. 商贸市场（双福/观音桥等）
   11. 农村土货预定
   12. 收购专区
   13. 商品展示
   14. 小程序/公众号
   15. 底部
   16. 悬浮工具
   17. 响应式
   ============================================================ */

/* ===== 1. 基础重置与全局变量 ===== */
:root {
    --primary: #07a37c;
    --primary-dark: #058a68;
    --primary-light: #e8f5e9;
    --secondary: #ff6a00;
    --secondary-light: #fff3e0;
    --accent-red: #e4393c;
    --accent-blue: #1e90ff;
    --accent-gold: #f5a623;
    --dark: #222;
    --dark2: #333;
    --text: #555;
    --text-light: #999;
    --bg: #f5f5f5;
    --bg-white: #fff;
    --border: #eee;
    --border2: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-hover: 0 4px 24px rgba(0,0,0,.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all .3s ease;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --max-width: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 50px 0;
    background: var(--bg-white);
    margin-bottom: 2px;
}

.section:nth-child(even) {
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-header h2 i {
    color: var(--primary);
    margin-right: 6px;
}

.section-header p {
    color: var(--text);
    font-size: .95rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: .7rem;
    padding: 2px 12px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 8px;
    font-weight: 500;
    letter-spacing: .5px;
}

.section-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 500;
    transition: var(--transition);
}

.section-more i {
    font-size: .75rem;
    margin-left: 4px;
    transition: var(--transition);
}

.section-more:hover {
    color: var(--primary-dark);
}

.section-more:hover i {
    transform: translateX(4px);
}

/* ===== 2. 顶部公告栏 ===== */
.top-bar {
    background: var(--dark2);
    color: #ccc;
    font-size: .82rem;
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid #333;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar-left i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.top-bar-right a {
    color: #ccc;
    margin-left: 16px;
    font-size: .78rem;
}

.top-bar-right a i {
    margin-right: 4px;
    font-size: .75rem;
}

.top-bar-right a:hover { color: #fff; }

.top-bar-right .divider {
    margin-left: 16px;
    color: #555;
}

/* ===== 3. 头部 ===== */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 80px;
    gap: 20px;
    position: relative;
}

/* Logo（中文主/英文辅） */
.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(7,163,124,.25);
    transition: transform .3s ease, box-shadow .3s ease;
}

.logo-link:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(7,163,124,.35);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-cn {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 1px;
    line-height: 1.15;
}

.logo-en {
    font-size: .65rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: .5px;
    line-height: 1.2;
    margin-top: 1px;
}

.logo-sub {
    font-size: .62rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-top: 2px;
    margin-left: 50px;
    white-space: nowrap;
}

.logo-sub i {
    color: var(--primary);
    font-size: .55rem;
    margin-right: 2px;
}

/* 地址选择 */
.location {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    flex-shrink: 0;
}

.location:hover {
    background: var(--bg);
}

.location i {
    color: var(--accent-red);
    font-size: .9rem;
}

.location-text {
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
}

.location-arrow {
    font-size: .7rem;
    color: var(--text-light);
}

.location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 15px;
    width: 260px;
    display: none;
    z-index: 100;
    margin-top: 8px;
}

.location:hover .location-dropdown {
    display: block;
}

.location-hot {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.location-hot a {
    display: block;
    padding: 5px 8px;
    text-align: center;
    border-radius: 4px;
    background: var(--bg);
    font-size: .82rem;
    color: var(--text);
    transition: var(--transition);
}

.location-hot a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.location-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: .82rem;
    outline: none;
}

.location-search input:focus {
    border-color: var(--primary);
}

/* 搜索框 */
.search-box {
    flex: 1;
    display: flex;
    height: 44px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 550px;
    background: #fff;
}

.search-category {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    background: var(--bg);
    cursor: pointer;
    font-size: .85rem;
    color: var(--text);
    border-right: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
}

.search-category i {
    font-size: .7rem;
    color: var(--text-light);
}

.search-category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 100px;
    display: none;
    z-index: 100;
    overflow: hidden;
}

.search-category:hover .search-category-dropdown {
    display: block;
}

.search-category-dropdown a {
    display: block;
    padding: 8px 18px;
    font-size: .85rem;
    color: var(--text);
    transition: var(--transition);
}

.search-category-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: .9rem;
    color: var(--dark);
}

.search-input::placeholder {
    color: #bbb;
}

.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

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

/* 头部工具 */
.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: .85rem;
    color: var(--dark);
}

.cart-btn:hover {
    background: var(--bg);
}

.cart-btn i {
    font-size: 1.1rem;
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -2px;
    left: 26px;
    background: var(--accent-red);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn, .register-btn {
    padding: 7px 16px;
    border-radius: var(--radius);
    font-size: .85rem;
    font-weight: 500;
    transition: var(--transition);
}

.login-btn {
    color: var(--dark);
    border: 1px solid var(--border2);
}

.login-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.login-btn i {
    margin-right: 4px;
}

.register-btn {
    background: var(--accent-red);
    color: #fff;
}

.register-btn:hover {
    background: #c62828;
}

/* ===== 4. 主导航 ===== */
.main-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 46px;
    gap: 0;
}

.all-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 100%;
    background: var(--primary);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
    border-radius: var(--radius) var(--radius) 0 0;
}

.all-categories i {
    font-size: 1.1rem;
}

.categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-hover);
    display: none;
    z-index: 200;
    padding: 20px;
    width: 600px;
    display: none;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.all-categories:hover .categories-dropdown {
    display: grid;
}

.cat-group h4 {
    font-size: .9rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-group h4 i {
    font-size: .8rem;
}

.cat-group a {
    display: block;
    font-size: .8rem;
    color: var(--text);
    padding: 4px 0;
    transition: var(--transition);
}

.cat-group a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 0;
    flex: 1;
}

.nav-menu li {
    height: 100%;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    font-size: .88rem;
    color: var(--dark2);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu li a i {
    margin-right: 4px;
    font-size: .8rem;
}

.nav-menu li:hover a,
.nav-menu li.active a {
    color: var(--primary);
}

.nav-menu li.nav-highlight a {
    color: var(--accent-red);
    font-weight: 700;
    position: relative;
}

.nav-menu li.nav-highlight a::after {
    content: '安全';
    position: absolute;
    top: 4px;
    right: 0;
    font-size: .55rem;
    background: var(--accent-red);
    color: #fff;
    padding: 0 4px;
    border-radius: 2px;
    line-height: 1.4;
}

/* 地图导航按钮 */
.nav-menu li.nav-map a {
    color: #fff;
    background: linear-gradient(135deg, #1e90ff, #1565c0);
    padding: 0 18px;
    margin: 5px 0;
    border-radius: 6px;
    height: auto;
    font-weight: 600;
    gap: 4px;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(30,144,255,.3);
}

.nav-menu li.nav-map a i {
    font-size: .9rem;
    margin-right: 4px;
}

.nav-menu li.nav-map a:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    box-shadow: 0 4px 16px rgba(30,144,255,.5);
    transform: translateY(-1px);
}

/* ===== 农村市场快速通道 ===== */
.rural-market-express {
    background: linear-gradient(135deg, #4a148c, #6a1b9a);
    color: #fff;
    padding: 10px 0;
    margin-bottom: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rural-express-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.rural-express-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    padding-right: 16px;
    border-right: 1px solid rgba(255,255,255,.25);
}

.rural-express-label i {
    font-size: 1.1rem;
}

.rural-express-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.rural-express-links a {
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    padding: 4px 12px;
    transition: all .25s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rural-express-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-radius: 4px;
}

.rural-express-links a i {
    font-size: .78rem;
}

.rural-express-divider {
    color: rgba(255,255,255,.2);
    font-size: .75rem;
    user-select: none;
}

.rural-express-highlight {
    background: #ff6a00;
    color: #fff !important;
    border-radius: 4px;
    padding: 4px 16px !important;
    font-weight: 600;
}

.rural-express-highlight:hover {
    background: #e65100 !important;
}

/* ===== 5. Banner ===== */
.banner-section {
    padding: 15px 0;
    background: var(--bg);
}

.banner-container {
    display: grid;
    grid-template-columns: 200px 1fr 230px;
    gap: 12px;
    align-items: stretch;
    overflow: visible;
}

/* 侧边菜单（京东/淘宝风格滑入子菜单，占满轮播区域） */
.side-menu {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: visible;
    z-index: 10;
    height: 100%;
}

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

.side-menu-list > li {
    position: static;
    border-bottom: 1px solid var(--border);
}

.side-menu-list > li:last-child {
    border-bottom: none;
}

.side-menu-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: .85rem;
    color: var(--dark2);
    transition: all .25s ease;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.side-menu-list > li > a i:first-child {
    width: 20px;
    color: var(--text-light);
    font-size: .85rem;
    flex-shrink: 0;
}

.side-menu-list > li > a i:last-child {
    font-size: .6rem;
    color: #bbb;
    transition: transform .2s ease;
}

.side-menu-list > li:hover > a {
    background: var(--primary-light);
    color: var(--primary);
}

.side-menu-list > li:hover > a i:last-child {
    transform: translateX(3px);
    color: var(--primary);
}

.side-menu-list > li.menu-highlight > a {
    color: var(--accent-red);
    font-weight: 700;
}

.side-menu-list > li.menu-highlight > a i:first-child {
    color: var(--accent-red);
}

.side-menu-list > li.menu-highlight:hover > a {
    background: #fce4ec;
    color: #c62828;
}

/* ===== 滑入子菜单面板（京东/淘宝风格） ===== */
.sub-menu-panel {
    position: absolute;
    left: 100%;
    top: 0;
    width: 820px;
    height: 100%;
    min-height: 100%;
    background: #fff;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: 4px 0 20px rgba(0,0,0,.1), 0 4px 20px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    pointer-events: none;
    overflow: hidden;
}

.side-menu-list > li:hover .sub-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.sub-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
    height: 100%;
}

.sub-menu-panel::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background: transparent;
}

.sub-col {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 5px 0;
    border: none;
    border-bottom: 1px dashed #f0f0f0;
}

.sub-col:last-child {
    border-bottom: none;
}

.sub-col h4 {
    display: inline;
    font-size: .8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    padding: 0;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.8;
}

.sub-col h4 i {
    font-size: .72rem;
    margin-right: 3px;
    color: var(--primary);
}

.sub-col h4::after {
    content: '\FF1A';
    color: #999;
    margin-right: 4px;
}

.sub-col a {
    display: inline-block;
    padding: 2px 8px;
    font-size: .75rem;
    color: var(--text);
    white-space: nowrap;
    line-height: 1.8;
    border-radius: 3px;
    transition: all .15s ease;
}

.sub-col a:hover {
    color: var(--primary);
    background: var(--primary-light);
    padding-left: 8px;
}

.sub-col a + a::before {
    content: '|';
    color: #e0e0e0;
    margin-right: 8px;
    font-size: .55rem;
    pointer-events: none;
}

.sub-col a i {
    font-size: .6rem;
    margin-left: 2px;
    color: var(--primary);
}

/* 品牌标签（JD一行流中的特殊处理） */
.sub-col.sub-brand {
    display: block;
}

.sub-col.sub-brand h4 {
    display: inline;
}

.sub-col.sub-brand .brand-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    vertical-align: middle;
}

.sub-col.sub-brand .brand-tags span {
    display: inline-block;
    padding: 1px 8px;
    background: var(--bg);
    border-radius: 10px;
    font-size: .7rem;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.sub-col.sub-brand .brand-tags span:hover {
    background: var(--primary);
    color: #fff;
}

/* 子菜单中地图链接特殊样式 */
.sub-col a.open-map {
    color: var(--accent-blue);
    font-weight: 600;
}

.sub-col a.open-map:hover {
    color: #1565c0;
}

/* 第5项（茶叶）子菜单加宽 */
.side-menu-list > li:nth-child(5) .sub-menu-panel {
    width: 860px;
}
/* 第12项（农村市场）子菜单加宽 */
.side-menu-list > li:nth-child(12) .sub-menu-panel {
    width: 860px;
}

/* ===== 旧版侧边菜单保留（以防万一） ===== */
.side-menu ul:not(.side-menu-list) li {
    border-bottom: 1px solid var(--border);
}

.side-menu ul:not(.side-menu-list) li:last-child {
    border-bottom: none;
}

.side-menu ul:not(.side-menu-list) li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 14px;
    font-size: .82rem;
    color: var(--dark2);
    transition: var(--transition);
}

.side-menu ul:not(.side-menu-list) li a i:first-child {
    width: 18px;
    color: var(--text-light);
    font-size: .8rem;
}

.side-menu ul:not(.side-menu-list) li a i:last-child {
    font-size: .6rem;
    color: #ccc;
}

.side-menu ul:not(.side-menu-list) li:hover a {
    background: var(--primary-light);
    color: var(--primary);
}

.side-menu ul:not(.side-menu-list) li.menu-highlight a {
    color: var(--accent-red);
    font-weight: 600;
}

.side-menu ul:not(.side-menu-list) li.menu-highlight a i:first-child {
    color: var(--accent-red);
}

/* ===== 茶叶品牌直通车（水平滑动条） ===== */
.tea-brand-bar {
    background: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2px;
}

.tea-brand-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tea-brand-bar-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tea-brand-bar-header h3 i {
    color: var(--primary);
}

.tea-brand-more {
    font-size: .82rem;
    color: var(--primary);
    transition: var(--transition);
    white-space: nowrap;
}

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

.tea-brand-more i {
    font-size: .7rem;
    margin-left: 4px;
    transition: var(--transition);
}

.tea-brand-more:hover i {
    transform: translateX(3px);
}

.tea-brand-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
    -webkit-overflow-scrolling: touch;
}

.tea-brand-scroll::-webkit-scrollbar {
    height: 4px;
}

.tea-brand-scroll::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 4px;
}

.tea-brand-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.tea-brand-track {
    display: flex;
    gap: 0;
    min-width: min-content;
}

.tea-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
    min-width: 120px;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    border-right: 1px solid var(--border);
}

.tea-brand-card:first-child {
    border-left: 1px solid var(--border);
}

.tea-brand-card:hover {
    background: var(--primary-light);
}

.tea-brand-card:hover .tea-brand-name {
    color: var(--primary);
}

.tea-brand-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
    transition: var(--transition);
}

.tea-brand-card:hover .tea-brand-img {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.tea-brand-img i {
    font-size: 1.5rem;
    color: #fff;
}

.tea-brand-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark2);
    margin-bottom: 3px;
    transition: var(--transition);
}

.tea-brand-tag {
    font-size: .65rem;
    color: var(--text-light);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

/* 轮播 */
.slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 320px;
}

.slider-track {
    position: relative;
    height: 100%;
    min-height: 320px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.slide-content {
    flex: 1;
    color: #fff;
}

.slide-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1rem;
    opacity: .9;
    margin-bottom: 20px;
    max-width: 400px;
    line-height: 1.5;
}

.slide-btn {
    display: inline-block;
    padding: 10px 28px;
    background: rgba(255,255,255,.2);
    color: #fff;
    border-radius: 30px;
    font-size: .9rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
}

.slide-btn i {
    font-size: .75rem;
    margin-left: 6px;
    transition: var(--transition);
}

.slide-btn:hover {
    background: #fff;
    color: var(--dark);
}

.slide-btn:hover i {
    transform: translateX(4px);
}

.slide-img {
    font-size: 5rem;
    color: rgba(255,255,255,.2);
    flex-shrink: 0;
    margin-left: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,.2);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(0,0,0,.5);
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

/* ===== 地图导购 ===== */
.map-float-btn {
    position: fixed;
    right: 20px;
    bottom: 170px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 16px rgba(30,144,255,.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: .6rem;
    z-index: 998;
    transition: var(--transition);
    animation: mapFloatPulse 2s ease-in-out infinite;
}

@keyframes mapFloatPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(30,144,255,.4); }
    50% { box-shadow: 0 4px 24px rgba(30,144,255,.7); transform: scale(1.05); }
}

.map-float-btn i {
    font-size: 1.1rem;
}

.map-float-btn:hover {
    background: #1565c0;
    transform: scale(1.08);
    animation: none;
}

/* 地图模态框 */
#map-modal .modal-map-box {
    width: 860px;
    max-width: 95vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.modal-map-header {
    padding: 18px 24px 14px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.modal-map-header h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.modal-map-header h3 i {
    color: var(--accent-red);
    margin-right: 6px;
}

.map-tools {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.map-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border-radius: 8px;
    padding: 0 14px;
    flex: 1;
    min-width: 200px;
    border: 1px solid var(--border);
}

.map-search i {
    color: var(--text-light);
    font-size: .85rem;
}

.map-search input {
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 0;
    font-size: .85rem;
    flex: 1;
    color: var(--dark);
}

.map-filter {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.map-filter-btn {
    padding: 7px 16px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: .78rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.map-filter-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.map-filter-btn.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}

.modal-map-body {
    flex: 1;
    padding: 16px;
    overflow: hidden;
    min-height: 420px;
    position: relative;
}

.map-canvas {
    position: relative;
    width: 100%;
    height: 420px;
    background: transparent;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
/* 天地图信息窗口样式覆盖 */
.tdt-info-window {
    font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}
.tdt-info-window .tdt-info-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}
.tdt-info-window .tdt-info-body {
    padding: 4px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}
.tdt-info-window .tdt-info-body i {
    width: 16px;
}
/* 天地图控件 z-index 适配 */
.tdt-control-zoom {
    z-index: 20 !important;
}
/* ===== 彻底隐藏天地图所有品牌标识 ===== */
.tdt-logo,
.tdt-control-logo,
div[class*="tdt-logo"],
div[class*="tdt_logo"],
div[class*="logo"][class*="tdt"],
/* 更广泛地匹配 */
img[src*="tianditu"],
img[alt*="天地图"],
img[alt*="Tianditu"],
div[class*="copyright"],
div[class*="attribution"],
div[class*="tdt-copyright"],
div[class*="tdt-attribution"],
div[class*="tdt_copyright"],
/* 天地图版权层 */
a[href*="tianditu"],
a[href*="天地图"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
}
/* 自定义地图水印 */
.map-brand-watermark {
    position: absolute;
    bottom: 8px;
    right: 12px;
    z-index: 30;
    font-size: 13px;
    font-weight: 600;
    color: rgba(60,60,60,.55);
    background: rgba(255,255,255,.7);
    padding: 3px 10px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: .5px;
    pointer-events: none;
    user-select: none;
}

/* 地图网格线 */
.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* 地图方位 */
.map-compass {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-light);
    font-size: .65rem;
    background: rgba(255,255,255,.8);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    z-index: 5;
}

.map-compass i {
    font-size: 1rem;
    color: var(--accent-red);
}

/* 地图标记 */
.map-marker {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transition: transform .2s ease;
}

.map-marker:hover {
    z-index: 20;
}

.map-marker:hover .marker-icon {
    transform: scale(1.2);
}

.marker-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    transition: transform .2s ease;
    position: relative;
}

.marker-icon.market { background: linear-gradient(135deg, #d84315, #bf360c); }
.marker-icon.purchase { background: linear-gradient(135deg, #1e90ff, #1565c0); }
.marker-icon.farm { background: linear-gradient(135deg, #43a047, #2e7d32); }
.marker-icon.current { background: linear-gradient(135deg, #e4393c, #c62828); width: 28px; height: 28px; font-size: .75rem; }

.marker-icon.current::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #c62828;
}

.marker-icon.market::after,
.marker-icon.purchase::after,
.marker-icon.farm::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid;
}

.marker-icon.market::after { border-top-color: #bf360c; }
.marker-icon.purchase::after { border-top-color: #1565c0; }
.marker-icon.farm::after { border-top-color: #2e7d32; }

/* 标记信息卡 */
.marker-info {
    position: absolute;
    left: 40px;
    top: -10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    padding: 10px 14px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
    transition: all .25s ease;
    pointer-events: none;
    border: 1px solid var(--border);
}

.map-marker:hover .marker-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.marker-info strong {
    display: block;
    font-size: .82rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.marker-info span {
    display: block;
    font-size: .72rem;
    color: var(--text);
    margin-bottom: 2px;
    line-height: 1.4;
}

.marker-info a {
    display: inline-block;
    margin-top: 6px;
    font-size: .72rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.marker-info a:hover {
    text-decoration: underline;
}

/* 模态框底部 */
.modal-map-footer {
    padding: 12px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.map-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.map-legend span {
    font-size: .75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.map-legend span i {
    font-size: .8rem;
}

.map-stats {
    display: flex;
    gap: 16px;
}

.map-stats span {
    font-size: .72rem;
    color: var(--text-light);
}

.map-stats strong {
    color: var(--dark);
}

/* 地图标记动画 */
.map-marker {
    animation: markerDrop .5s ease backwards;
}

.map-marker:nth-child(1) { animation-delay: .1s; }
.map-marker:nth-child(2) { animation-delay: .15s; }
.map-marker:nth-child(3) { animation-delay: .2s; }
.map-marker:nth-child(4) { animation-delay: .25s; }
.map-marker:nth-child(5) { animation-delay: .3s; }
.map-marker:nth-child(6) { animation-delay: .35s; }
.map-marker:nth-child(7) { animation-delay: .4s; }
.map-marker:nth-child(8) { animation-delay: .45s; }
.map-marker:nth-child(9) { animation-delay: .5s; }

@keyframes markerDrop {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===== 右侧信息 ===== */
.banner-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-side-box {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
}

.banner-side-box h4 {
    font-size: .88rem;
    margin-bottom: 10px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-side-box h4 i {
    color: var(--accent-red);
    font-size: .8rem;
}

.notice-box ul li {
    margin-bottom: 6px;
}

.notice-box ul li a {
    font-size: .78rem;
    color: var(--text);
    transition: var(--transition);
}

.notice-box ul li a:hover {
    color: var(--primary);
}

.qc-quick-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qrcode-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--bg);
    border-radius: 6px;
    border: 2px dashed #ddd;
}

.qrcode-placeholder i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.qrcode-placeholder span {
    font-size: .75rem;
    color: var(--text-light);
}

/* ===== 6. 快捷入口 ===== */
.quick-entry {
    padding: 15px 0;
    background: var(--bg-white);
}

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

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px 5px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
}

.quick-item:hover {
    background: var(--bg);
    transform: translateY(-2px);
}

.quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.quick-item:hover .quick-icon {
    transform: scale(1.1);
}

.quick-item span {
    font-size: .78rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== 7. 质检中心 ===== */
.quality-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.quality-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.quality-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.quality-card-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
}

.quality-card-primary .quality-card-icon i {
    color: rgba(255,255,255,.8);
}

.quality-card-primary h3 {
    color: #fff;
}

.quality-card-primary p {
    color: rgba(255,255,255,.85);
}

.quality-card-primary .quality-btn {
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}

.quality-card-primary .quality-btn:hover {
    background: rgba(255,255,255,.3);
}

.quality-card-icon {
    margin-bottom: 14px;
}

.quality-card-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.quality-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.quality-card p {
    font-size: .85rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 14px;
}

.quality-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.quality-stats:last-child {
    margin-bottom: 0;
}

.qual-stat {
    text-align: center;
}

.qual-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
}

.qual-label {
    font-size: .7rem;
    opacity: .8;
}

.quality-list {
    flex: 1;
}

.quality-list li {
    font-size: .82rem;
    color: var(--text);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quality-list li i {
    color: var(--primary);
    font-size: .75rem;
}

.quality-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    text-align: center;
}

.quality-btn:not(.quality-card-primary .quality-btn) {
    background: var(--primary-light);
    color: var(--primary);
}

.quality-btn:not(.quality-card-primary .quality-btn):hover {
    background: var(--primary);
    color: #fff;
}

.quality-btn.small {
    padding: 6px 16px;
    font-size: .78rem;
}

.quality-btn i {
    font-size: .7rem;
    margin-left: 4px;
}

.report-list {
    flex: 1;
    margin-bottom: 12px;
}

.report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
    transition: var(--transition);
}

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

.report-item:hover {
    padding-left: 4px;
}

.report-name {
    color: var(--dark);
    flex: 1;
}

.report-tag {
    font-size: .65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin: 0 8px;
}

.report-tag.pass {
    background: #e8f5e9;
    color: #2e7d32;
}

.report-date {
    font-size: .72rem;
    color: var(--text-light);
}

.live-placeholder {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg);
    border-radius: 6px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.live-placeholder:hover {
    background: #e8f5e9;
}

.live-placeholder i {
    font-size: 1.8rem;
    color: var(--accent-red);
}

.live-placeholder span {
    font-size: .82rem;
    color: var(--text);
}

/* ===== 8. 溯源追踪 ===== */
.trace-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.trace-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px 40px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.trace-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.trace-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.3rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.trace-step:hover .trace-step-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.trace-step-line {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.trace-step:last-child .trace-step-line {
    display: none;
}

.trace-step h4 {
    font-size: .85rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.trace-step p {
    font-size: .72rem;
    color: var(--text-light);
}

.trace-demo {
    text-align: center;
}

.trace-input-group {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--accent-blue);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.trace-input-group i {
    padding: 0 15px;
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.trace-input-group input {
    border: none;
    outline: none;
    padding: 12px 15px;
    width: 320px;
    font-size: .9rem;
}

.trace-input-group input::placeholder {
    color: #bbb;
}

.trace-input-group button {
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.trace-input-group button:hover {
    background: #1565c0;
}

.trace-samples {
    margin-top: 14px;
    font-size: .82rem;
    color: var(--text);
}

.trace-samples span {
    color: var(--text-light);
}

.trace-samples a {
    color: var(--accent-blue);
    margin-left: 12px;
    font-family: monospace;
    transition: var(--transition);
}

.trace-samples a:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* ===== 9. 农场直供 ===== */
.farm-section {
    background: var(--bg-white);
}

.farm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.farm-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.farm-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,.6);
    position: relative;
}

.farm-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.9);
    color: var(--dark);
    font-size: .68rem;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.farm-info {
    padding: 16px;
}

.farm-info h4 {
    font-size: .95rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.farm-location {
    font-size: .75rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.farm-location i {
    color: var(--accent-red);
}

.farm-desc {
    font-size: .8rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.farm-meta {
    display: flex;
    gap: 16px;
    font-size: .78rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.farm-meta i {
    color: var(--accent-gold);
}

.farm-actions {
    display: flex;
    gap: 8px;
}

.farm-btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    transition: var(--transition);
}

.farm-btn:not(.outline) {
    background: var(--primary);
    color: #fff;
}

.farm-btn:not(.outline):hover {
    background: var(--primary-dark);
}

.farm-btn.outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.farm-btn.outline:hover {
    background: var(--primary-light);
}

/* ===== 10. 商贸市场（双福/观音桥/三亚海鲜/西三街等） ===== */
.market-section {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
}

.market-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    background: linear-gradient(135deg, #d84315, #bf360c);
    border-radius: var(--radius-lg);
    color: #fff;
    margin-bottom: 24px;
}

.market-banner-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.market-banner-content p {
    font-size: .9rem;
    opacity: .9;
    margin-bottom: 6px;
}

.market-data {
    font-size: .85rem;
    margin-top: 10px;
    font-weight: 600;
}

.market-data i {
    margin-right: 6px;
}

.market-btns {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.market-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 600;
    transition: var(--transition);
}

.market-btn.primary {
    background: #fff;
    color: #bf360c;
}

.market-btn.primary:hover {
    background: #f5f5f5;
}

.market-btn.outline {
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
}

.market-btn.outline:hover {
    background: rgba(255,255,255,.1);
}

.market-banner-img {
    font-size: 5rem;
    color: rgba(255,255,255,.2);
    flex-shrink: 0;
}

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

.market-cat {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.market-cat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.market-cat i {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.market-cat h4 {
    font-size: .9rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.market-cat span {
    font-size: .72rem;
    color: var(--text-light);
}

/* ===== 农村市场（供需对接平台） ===== */
.rural-market-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #e8eaf6 100%);
}

.rural-market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.rural-market-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.rural-market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.rural-market-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.rural-market-card:hover::before {
    opacity: 1;
}

.rural-market-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: var(--transition);
}

.rural-market-card:hover .rural-market-icon {
    transform: scale(1.1);
}

.rural-market-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.rural-market-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.rural-market-card p {
    font-size: .82rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 14px;
}

.rural-market-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.rural-market-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.rural-market-link i {
    font-size: .7rem;
    transition: var(--transition);
}

.rural-market-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow);
}

.rural-stat {
    text-align: center;
    border-right: 1px solid var(--border);
    padding: 0 10px;
}

.rural-stat:last-child {
    border-right: none;
}

.rural-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.rural-stat-label {
    font-size: .78rem;
    color: var(--text-light);
}

/* ===== 11. 农村土货预定 ===== */
.rural-section {
    background: linear-gradient(135deg, #fef3e2 0%, #fde8c8 100%);
}

.rural-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rural-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.rural-img {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: rgba(255,255,255,.5);
    position: relative;
}

.rural-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.4);
    color: #fff;
    font-size: .72rem;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.rural-info {
    padding: 16px;
}

.rural-info h4 {
    font-size: .95rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.rural-info > p {
    font-size: .78rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.rural-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.rural-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-red);
}

.rural-price small {
    font-size: .65rem;
    font-weight: 400;
    color: var(--text-light);
}

.rural-source {
    font-size: .72rem;
    color: var(--text-light);
}

.rural-btn {
    display: block;
    text-align: center;
    padding: 9px;
    background: var(--secondary);
    color: #fff;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    transition: var(--transition);
}

.rural-btn:hover {
    background: #e65100;
}

/* ===== 12. 收购专区 ===== */
.purchase-section {
    background: var(--bg-white);
}

.purchase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.purchase-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border);
}

.purchase-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.purchase-header {
    padding: 16px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    display: flex;
    align-items: center;
    gap: 10px;
}

.purchase-header i {
    font-size: 1.3rem;
    color: var(--accent-blue);
}

.purchase-header h4 {
    font-size: .95rem;
    color: var(--dark);
}

.purchase-body {
    padding: 16px;
}

.purchase-body p {
    font-size: .82rem;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
}

.purchase-body p span {
    font-weight: 600;
    color: var(--dark);
    min-width: 60px;
}

.purchase-btn {
    display: block;
    margin: 0 16px 16px;
    text-align: center;
    padding: 9px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    transition: var(--transition);
}

.purchase-btn:hover {
    background: #1565c0;
}

/* ===== 13. 商品展示 ===== */
.products-section {
    background: var(--bg);
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}

.products-tabs .tab {
    padding: 8px 22px;
    border-radius: 20px;
    font-size: .85rem;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg);
}

.products-tabs .tab:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.products-tabs .tab.active {
    background: var(--primary);
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.product-img {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-tag {
    position: absolute;
    top: 8px;
    font-size: .6rem;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
    z-index: 2;
}

.product-tag.trace-tag {
    left: 8px;
    background: #e3f2fd;
    color: #1565c0;
}

.product-tag.qc-tag {
    right: 8px;
    background: #e8f5e9;
    color: #2e7d32;
}

.product-info {
    padding: 12px;
}

.product-info h4 {
    font-size: .85rem;
    color: var(--dark);
    margin-bottom: 3px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: .72rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-red);
}

.original-price {
    font-size: .72rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-source {
    color: var(--text-light);
}

.product-sold {
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 6px;
}

.add-cart {
    flex: 1;
    text-align: center;
    padding: 7px;
    background: var(--accent-red);
    color: #fff;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 600;
    transition: var(--transition);
}

.add-cart:hover {
    background: #c62828;
}

.trace-link {
    flex: 1;
    text-align: center;
    padding: 7px;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 600;
    transition: var(--transition);
}

.trace-link:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* ===== 14. 小程序/公众号 ===== */
.app-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
}

.app-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.app-content {
    flex: 1;
    color: #fff;
}

.app-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.app-content > p {
    color: rgba(255,255,255,.6);
    margin-bottom: 24px;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-feature i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-gold);
}

.app-feature h4 {
    font-size: .95rem;
    margin-bottom: 2px;
}

.app-feature p {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}

.app-register {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
}

.app-register p {
    font-size: .9rem;
    color: rgba(255,255,255,.8);
}

.app-register p strong {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.register-now {
    padding: 10px 28px;
    background: var(--accent-gold);
    color: #1a1a2e;
    border-radius: 6px;
    font-weight: 700;
    font-size: .9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.register-now:hover {
    background: #ffb300;
    transform: translateX(3px);
}

.register-now i {
    font-size: .75rem;
    margin-left: 6px;
}

.app-qrcodes {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.qrcode-item {
    text-align: center;
    color: #fff;
}

.qrcode-placeholder2 {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 8px;
    border: 2px dashed rgba(255,255,255,.2);
}

.qrcode-item span {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
}

/* ===== 15. 底部 ===== */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding-top: 50px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    font-size: .82rem;
    color: #999;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact p {
    font-size: .82rem;
    color: #999;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact p i {
    width: 16px;
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: .9rem;
    padding: 0;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.footer-badges span {
    font-size: .75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-badges span i {
    color: var(--primary);
}

.footer-copy {
    font-size: .75rem;
    color: #555;
}

.footer-copy a {
    display: inline;
    color: #666;
    padding: 0;
}

.footer-copy a:hover {
    color: #999;
}

/* ===== 16. 悬浮工具 ===== */
.float-tools {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 999;
}

.float-item {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text);
    transition: var(--transition);
    font-size: .6rem;
}

.float-item i {
    font-size: 1rem;
}

.float-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-4px);
}

.float-item span {
    font-size: .55rem;
}

/* ===== 17. 搜索建议 ===== */
.search-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    height: 44px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    overflow: visible;
    max-width: 550px;
    background: #fff;
}

.search-suggest {
    position: absolute;
    top: 100%;
    left: -2px;
    right: -2px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-hover);
    display: none;
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
}

.search-suggest a {
    display: block;
    padding: 10px 18px;
    font-size: .85rem;
    color: var(--text);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.search-suggest a:last-child {
    border-bottom: none;
}

.search-suggest a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.search-suggest a strong {
    color: var(--accent-red);
}

/* ===== 18. 模态框（登录/注册） ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    width: 420px;
    max-width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    transform: scale(.95) translateY(20px);
    transition: transform .3s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--accent-red);
    background: var(--bg);
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

.modal-tab {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.modal-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transition: var(--transition);
}

.modal-tab.active {
    color: var(--primary);
}

.modal-tab.active::after {
    width: 40px;
}

.modal-body {
    padding: 30px;
}

.auth-form {
    display: none;
    animation: fadeUp .3s ease;
}

.auth-form.active {
    display: block;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: .85rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group label i {
    margin-right: 4px;
    color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border2);
    border-radius: 8px;
    font-size: .9rem;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7,163,124,.1);
}

.input-group {
    display: flex;
    gap: 8px;
}

.input-group input {
    flex: 1;
}

.code-btn {
    padding: 11px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.code-btn:hover {
    background: var(--primary);
    color: #fff;
}

.code-btn:disabled {
    background: var(--bg);
    color: var(--text-light);
    border-color: var(--border);
    cursor: not-allowed;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    color: var(--text);
    margin-bottom: 18px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.form-options a {
    color: var(--primary);
}

.form-options a:hover {
    text-decoration: underline;
}

.role-select {
    display: flex;
    gap: 16px;
    padding: 8px 0;
}

.role-select label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: var(--transition);
    font-size: .85rem;
}

.role-select label:hover {
    border-color: var(--primary);
}

.role-select input[type="radio"] {
    accent-color: var(--primary);
}

.form-submit {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 2px;
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(7,163,124,.3);
}

.form-hint {
    text-align: center;
    font-size: .75rem;
    color: var(--text-light);
    margin-top: 16px;
}

.form-hint a {
    color: var(--primary);
}

.form-hint strong {
    color: var(--accent-red);
}

/* ===== 19. Toast 提示 ===== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    padding: 14px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    font-size: .88rem;
    color: var(--dark);
    transform: translateX(120%);
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
    opacity: 0;
    max-width: 360px;
    pointer-events: auto;
    border-left: 4px solid var(--primary);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success { border-left-color: #2e7d32; }
.toast-warning { border-left-color: #f57f17; }
.toast-info { border-left-color: var(--accent-blue); }
.toast-error { border-left-color: var(--accent-red); }

/* ===== 20. 滚动渐入动画 ===== */
.section, .banner-section, .quick-entry {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 21. 侧边悬浮工具加强 ===== */
.float-tools {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 999;
}

.float-item {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text);
    transition: var(--transition);
    font-size: .6rem;
}

.float-item i {
    font-size: 1rem;
}

.float-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-4px);
}

.float-item span {
    font-size: .55rem;
}

/* ===== 22. 购物车角标动画 ===== */
.cart-count {
    transition: transform .2s ease;
}

.cart-count.bounce {
    animation: cartBounce .5s ease;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.4); }
    50% { transform: scale(.9); }
    75% { transform: scale(1.1); }
}

/* ===== 23. 商品加载更多按钮 ===== */
.products-more {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 40px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(7,163,124,.2);
}

/* ===== 品牌直营 ===== */
.brand-section {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.brand-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.brand-tabs .brand-tab {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: .85rem;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg);
    border: 1px solid var(--border);
    font-weight: 500;
}

.brand-tabs .brand-tab:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
}

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

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.brand-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

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

.brand-card-header {
    padding: 20px 16px 14px;
    text-align: center;
    position: relative;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-card-header .brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.brand-card-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.brand-tag-official {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent-red);
    color: #fff;
    font-size: .6rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.brand-card-body {
    padding: 0 16px 14px;
    flex: 1;
}

.brand-card-body .brand-products {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.brand-products span {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg);
    border-radius: 10px;
    font-size: .7rem;
    color: var(--text);
    transition: var(--transition);
}

.brand-products span:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.brand-card-body .brand-desc {
    font-size: .75rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 4px;
}

.brand-card-body .brand-count {
    font-size: .7rem;
    color: var(--text-light);
}

.brand-card-body .brand-count strong {
    color: var(--accent-red);
}

.brand-card-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
}

.brand-enter-btn {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    transition: var(--transition);
}

.brand-enter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.brand-follow-btn {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: .78rem;
    cursor: pointer;
    transition: var(--transition);
}

.brand-follow-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.brand-more {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.brand-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    background: var(--bg-white);
    border: 2px solid var(--border2);
    border-radius: 30px;
    color: var(--text);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.brand-more-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* 导航配送按钮 */
.nav-menu li.nav-delivery a {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
}

.nav-menu li.nav-delivery a i {
    color: var(--secondary);
}

.nav-menu li.nav-delivery a::after {
    content: '配送';
    position: absolute;
    top: 4px;
    right: 0;
    font-size: .52rem;
    background: var(--secondary);
    color: #fff;
    padding: 0 4px;
    border-radius: 2px;
    line-height: 1.4;
}

/* 导航品牌按钮 */
.nav-menu li.nav-brand a {
    color: var(--accent-blue);
    font-weight: 600;
    position: relative;
}

.nav-menu li.nav-brand a i {
    color: var(--accent-blue);
}

.nav-menu li.nav-brand a::after {
    content: '官方';
    position: absolute;
    top: 4px;
    right: 0;
    font-size: .52rem;
    background: var(--accent-blue);
    color: #fff;
    padding: 0 4px;
    border-radius: 2px;
    line-height: 1.4;
}

/* 农村市场导航 */
.nav-menu li.nav-rural a {
    color: #4a148c;
    font-weight: 700;
    position: relative;
}

.nav-menu li.nav-rural a i {
    color: #4a148c;
}

.nav-menu li.nav-rural a::after {
    content: '新';
    position: absolute;
    top: 3px;
    right: -4px;
    font-size: .5rem;
    background: var(--accent-red);
    color: #fff;
    padding: 0 4px;
    border-radius: 2px;
    line-height: 1.4;
    animation: navPulse 2s ease-in-out infinite;
}

@keyframes navPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ===== 17. 左侧实时动态通知面板（突破容器边界） ===== */
.live-notify-panel {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    width: 280px;
    background: var(--bg-white);
    border-radius: 0 14px 14px 0;
    box-shadow: 4px 4px 24px rgba(0,0,0,.12);
    overflow: hidden;
    border: 1px solid var(--border);
    border-left: none;
    animation: notifyPanelInit .6s ease backwards;
    transition: box-shadow .3s ease;
}

@keyframes notifyPanelInit {
    from { opacity: 0; transform: translateY(-50%) translateX(-20px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.live-notify-panel:hover {
    box-shadow: 4px 8px 40px rgba(0,0,0,.18);
}

.live-notify-inner {
    padding: 0;
}

.live-notify-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 10px;
    background: linear-gradient(135deg, #e4393c, #c62828);
    color: #fff;
    white-space: nowrap;
}

.live-notify-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: liveDotPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes liveDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
    50% { opacity: .7; box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.live-notify-title {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-notify-count {
    margin-left: auto;
    background: rgba(255,255,255,.25);
    font-size: .65rem;
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.live-notify-body {
    max-height: 480px;
    overflow: hidden;
    padding: 6px 0;
    position: relative;
}

.live-notify-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--bg-white));
    pointer-events: none;
    z-index: 2;
}

.notify-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 14px;
    transition: all .3s ease;
    border-left: 3px solid transparent;
    opacity: 0;
    transform: translateX(-10px);
    animation: notifyItemIn .4s ease forwards;
}

.notify-item:nth-child(1) { animation-delay: .05s; }
.notify-item:nth-child(2) { animation-delay: .1s; }
.notify-item:nth-child(3) { animation-delay: .15s; }
.notify-item:nth-child(4) { animation-delay: .2s; }
.notify-item:nth-child(5) { animation-delay: .25s; }
.notify-item:nth-child(6) { animation-delay: .3s; }
.notify-item:nth-child(7) { animation-delay: .35s; }
.notify-item:nth-child(8) { animation-delay: .4s; }

@keyframes notifyItemIn {
    to { opacity: 1; transform: translateX(0); }
}

.notify-item:hover {
    background: #fef2f2;
    border-left-color: var(--accent-red);
}

.notify-item .notify-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    color: #fff;
    margin-top: 1px;
}

.notify-item .notify-icon.entry { background: linear-gradient(135deg, #43a047, #2e7d32); }
.notify-item .notify-icon.contract { background: linear-gradient(135deg, #1e90ff, #1565c0); }
.notify-item .notify-icon.base { background: linear-gradient(135deg, #ff6a00, #e65100); }
.notify-item .notify-icon.announce { background: linear-gradient(135deg, #e4393c, #c62828); }
.notify-item .notify-icon.trade { background: linear-gradient(135deg, #7b1fa2, #4a148c); }

.notify-item .notify-text {
    flex: 1;
    font-size: .78rem;
    color: var(--text);
    line-height: 1.4;
    min-width: 0;
}

.notify-item .notify-text strong {
    color: var(--dark);
    font-weight: 600;
}

.notify-item .notify-text .highlight {
    color: var(--accent-red);
    font-weight: 600;
}

.notify-item .notify-time {
    font-size: .6rem;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.live-notify-footer {
    padding: 8px 14px 10px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.live-notify-tip {
    font-size: .65rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.live-notify-tip i {
    font-size: .6rem;
    color: var(--accent-red);
    animation: liveBolt 1s ease-in-out infinite;
}

@keyframes liveBolt {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

/* 新通知滚动进入动画 */
.notify-item.new-item {
    animation: notifySlideDown .5s ease forwards;
}

@keyframes notifySlideDown {
    from { opacity: 0; max-height: 0; padding: 0 14px; transform: translateY(-10px); }
    to { opacity: 1; max-height: 60px; padding: 8px 14px; transform: translateY(0); }
}

/* ===== 18. 右侧在线咨询面板（突破右边界） ===== */
.consult-panel {
    display: flex !important;
    flex-direction: column !important;
    background: var(--bg-white) !important;
    border-radius: var(--radius) 0 0 var(--radius) !important;
    box-shadow: var(--shadow) !important;
    overflow: hidden !important;
    padding: 0 !important;
    height: 100%;
    min-height: 420px;
    position: relative;
    /* 突破容器右侧边界，填满右空白 */
    margin-right: calc(-1 * (100vw - min(1240px, 100vw - 30px)) / 2 - 15px);
    padding-right: calc((100vw - min(1240px, 100vw - 30px)) / 2 + 15px);
    width: auto;
    min-width: 230px;
    max-width: 380px;
}

.consult-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    flex-shrink: 0;
}

.consult-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 600;
}

.consult-header-left i {
    font-size: 1rem;
}

.consult-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
}

.consult-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.consult-status.online {
    background: #4caf50;
    box-shadow: 0 0 0 2px rgba(76,175,80,.3);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(76,175,80,.3); }
    50% { box-shadow: 0 0 0 5px rgba(76,175,80,0); }
}

.consult-status-text {
    opacity: .9;
}

.consult-body {
    flex: 1;
    padding: 12px 12px 8px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    max-height: 280px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.consult-body::-webkit-scrollbar {
    width: 3px;
}

.consult-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.consult-msg {
    display: flex;
    gap: 8px;
    animation: msgIn .3s ease;
}

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

.consult-msg.system {
    align-items: flex-start;
}

.consult-msg.user {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
}

.consult-msg.system .msg-avatar {
    background: linear-gradient(135deg, var(--primary-light), #c8e6c9);
    color: var(--primary);
}

.consult-msg.user .msg-avatar {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: var(--accent-blue);
}

.msg-content {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .78rem;
    line-height: 1.5;
    word-break: break-word;
}

.consult-msg.system .msg-content {
    background: var(--bg);
    border-bottom-left-radius: 4px;
    color: var(--dark);
}

.consult-msg.user .msg-content {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-content p {
    margin-bottom: 4px;
}

.msg-content p:last-child {
    margin-bottom: 0;
}

.msg-content strong {
    font-weight: 700;
}

.msg-content .msg-time {
    display: block;
    font-size: .6rem;
    color: var(--text-light);
    margin-top: 4px;
}

.consult-msg.user .msg-content .msg-time {
    color: rgba(255,255,255,.7);
}

/* 快捷问题 */
.consult-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 12px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.quick-q {
    padding: 5px 10px;
    border-radius: 14px;
    border: 1px solid var(--border2);
    background: var(--bg);
    font-size: .7rem;
    color: var(--text);
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
    font-family: var(--font);
}

.quick-q:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.quick-q:active {
    transform: scale(.95);
}

/* 输入区 */
.consult-input-area {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg-white);
}

.consult-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border2);
    border-radius: 20px;
    font-size: .78rem;
    outline: none;
    transition: var(--transition);
    font-family: var(--font);
}

.consult-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(7,163,124,.1);
}

.consult-input::placeholder {
    color: #bbb;
}

.consult-send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.consult-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.consult-send:active {
    transform: scale(.9);
}

/* 打字指示器 */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 10px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    animation: msgIn .3s ease;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-light);
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); background: var(--text-light); }
    30% { transform: translateY(-4px); background: var(--primary); }
}

/* ===== 17. 响应式 ===== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .quick-grid { grid-template-columns: repeat(5, 1fr); }
    .market-grid { grid-template-columns: repeat(3, 1fr); }
    .live-notify-panel { width: 240px; }
    .live-notify-panel:hover { box-shadow: 4px 8px 40px rgba(0,0,0,.18); }
    .consult-panel {
        max-width: 320px;
        min-width: 200px;
    }
}

@media (max-width: 992px) {
    .banner-container {
        grid-template-columns: 180px 1fr;
    }
    .banner-side { display: none !important; }
    .live-notify-panel { display: none; }
    .quality-grid { grid-template-columns: repeat(2, 1fr); }
    .farm-grid { grid-template-columns: repeat(2, 1fr); }
    .rural-market-grid { grid-template-columns: repeat(2, 1fr); }
    .rural-market-stats { grid-template-columns: repeat(2, 1fr); }
    .rural-grid { grid-template-columns: repeat(2, 1fr); }
    .purchase-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-links { grid-template-columns: repeat(3,1fr); }
    .trace-flow { flex-wrap: wrap; gap: 20px; }
    .trace-step { min-width: 30%; }
    .trace-step-line { display: none; }
    .app-box { flex-direction: column; text-align: center; }
    .app-feature { justify-content: center; }
    .app-register { justify-content: center; flex-wrap: wrap; }
    /* 农村市场快速通道响应式 */
    .rural-express-inner { flex-direction: column; align-items: flex-start; }
    .rural-express-label { border-right: none; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 8px; width: 100%; }
    .rural-express-links { width: 100%; justify-content: flex-start; gap: 2px; }
    .rural-express-links a { font-size: .75rem; padding: 3px 8px; }
    /* 茶叶品牌条响应式 */
    .tea-brand-card { min-width: 100px; padding: 12px 16px; }
    .tea-brand-img { width: 44px; height: 44px; }
    .tea-brand-img i { font-size: 1.2rem; }
    .tea-brand-name { font-size: .75rem; }
    .tea-brand-tag { font-size: .6rem; }
    /* 子菜单响应式（JD一行流布局） */
    .sub-menu-panel { width: 600px; }
    .side-menu-list > li:nth-child(5) .sub-menu-panel,
    .side-menu-list > li:nth-child(12) .sub-menu-panel { width: 640px; }
    .sub-menu-inner { padding: 10px 16px; }
    .sub-col { padding: 4px 0; }
    .sub-col h4 { font-size: .75rem; }
    .sub-col a { font-size: .7rem; padding: 1px 6px; }
    .brand-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
    .logo { width: 100%; align-items: center; }
    .logo-link { justify-content: center; }
    .logo-sub { display: none; }
    .location { display: none; }
    .search-box { order: 10; width: 100%; max-width: 100%; }
    .header-tools { margin-left: auto; }
    .main-nav { display: none; }
    .banner-container { grid-template-columns: 1fr; }
    .side-menu { display: none; }
    .rural-market-express { margin-bottom: 8px; padding: 8px 0; }
    .rural-express-links a { font-size: .7rem; padding: 2px 6px; }
    .rural-express-highlight { padding: 2px 10px !important; font-size: .7rem; }
    .rural-express-divider { display: none; }
    .slider { min-height: 200px; }
    .slide { padding: 20px 30px; flex-direction: column; }
    .slide-content h2 { font-size: 1.2rem; }
    .slide-content p { font-size: .85rem; }
    .slide-img { display: none; }
    .quick-grid { grid-template-columns: repeat(5,1fr); }
    .quick-item { padding: 10px 5px; }
    .quick-icon { width: 36px; height: 36px; font-size: 1rem; }
    .quality-grid { grid-template-columns: 1fr; }
    .farm-grid { grid-template-columns: 1fr; }
    .rural-market-grid { grid-template-columns: 1fr; }
    .rural-market-stats { grid-template-columns: repeat(2, 1fr); }
    .rural-stat:nth-child(2) { border-right: none; }
    .rural-grid { grid-template-columns: 1fr; }
    .purchase-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .market-grid { grid-template-columns: repeat(2, 1fr); }
    .market-banner { flex-direction: column; text-align: center; }
    .market-banner-img { display: none; }
    .market-btns { justify-content: center; flex-wrap: wrap; }
    .footer-links { grid-template-columns: repeat(2,1fr); }
    .app-qrcodes { flex-wrap: wrap; justify-content: center; }
    .qrcode-placeholder2 { width: 90px; height: 90px; }
    .trace-flow { flex-direction: column; align-items: center; }
    .trace-step { width: 100%; max-width: 300px; }
    .trace-input-group { flex-direction: column; width: 100%; }
    .trace-input-group input { width: 100%; }
    .trace-input-group button { width: 100%; }
    .float-tools { right: 10px; bottom: 80px; }
    .float-item { width: 40px; height: 40px; }
    /* 地图响应式 */
    #map-modal .modal-map-box { width: 100vw; max-height: 100vh; border-radius: 0; }
    .map-canvas { height: 320px; }
    .marker-info { width: 150px; left: 36px; }
    .map-tools { flex-direction: column; align-items: stretch; }
    .map-filter { justify-content: center; }
    .map-float-btn { right: 10px; bottom: 145px; width: 40px; height: 40px; }
    .modal-map-footer { flex-direction: column; align-items: flex-start; }
    /* 茶叶品牌条移动端 */
    .tea-brand-card { min-width: 80px; padding: 10px 12px; }
    .tea-brand-img { width: 38px; height: 38px; }
    .tea-brand-img i { font-size: 1rem; }
    .tea-brand-name { font-size: .7rem; }
    .tea-brand-tag { font-size: .55rem; padding: 1px 6px; }
    .tea-brand-bar-header h3 { font-size: .95rem; }
    .tea-brand-more { font-size: .75rem; }
    /* 农村市场快速通道移动端 */
    .rural-express-links { gap: 0; }
    .rural-express-links a { font-size: .68rem; padding: 2px 5px; }
    .rural-express-highlight { padding: 2px 8px !important; font-size: .68rem; }
    .rural-express-label { font-size: .85rem; }
    .rural-express-label i { font-size: .9rem; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; }
    .quick-grid { grid-template-columns: repeat(4,1fr); }
    .section { padding: 30px 0; }
    .section-header h2 { font-size: 1.3rem; }
    .slide-content h2 { font-size: 1rem; }
    .slide-btn { padding: 8px 20px; font-size: .8rem; }
    .header-tools { gap: 6px; }
    .login-btn, .register-btn { padding: 5px 10px; font-size: .78rem; }
    .cart-btn { padding: 5px 8px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .rural-market-express { padding: 6px 0; border-radius: 6px; }
    .rural-express-links a { font-size: .62rem; padding: 2px 4px; gap: 2px; }
    .rural-express-links a i { font-size: .6rem; }
    .rural-express-highlight { padding: 2px 6px !important; font-size: .62rem; }
    .rural-express-label { font-size: .78rem; padding-bottom: 4px; }
    .rural-market-card { padding: 20px 16px; }
    .rural-market-icon { width: 48px; height: 48px; }
    .rural-market-icon i { font-size: 1.2rem; }
    .rural-market-card h4 { font-size: .9rem; }
    .rural-market-card p { font-size: .75rem; }
    .rural-market-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 20px 12px; }
    .rural-stat-num { font-size: 1.2rem; }
    .rural-stat-label { font-size: .68rem; }
    .tea-brand-card { min-width: 70px; padding: 8px 10px; }
    .tea-brand-img { width: 32px; height: 32px; }
    .tea-brand-img i { font-size: .85rem; }
    .tea-brand-name { font-size: .65rem; }
    .tea-brand-tag { display: none; }
}
