/* 昂璟商贸 - 百货综合商城主题 */
:root {
    --primary: #008cdc;
    --primary-dark: #006db3;
    --primary-light: #2aa3e8;
    --accent: #f13a3a;
    --accent-light: #ff5c5c;
    --success: #10b981;
    --warning: #f59e0b;
    --bg: #f8f9fa;
    --surface: #ffffff;
    --text: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: #eeeeee;
    --shadow-xs: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow: 0 8px 28px rgba(0,0,0,0.07);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-xs: 2px;
    --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font: 14px/1.6 "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--text); transition: color .2s, background .2s; }
a:hover { color: var(--accent); }

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

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

/* 顶部促销条 */
.top-promo-bar {
    background: #fff;
    color: var(--text-secondary);
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1300;
    border-bottom: 1px solid var(--border);
}
.top-promo-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-promo-bar a { color: var(--text-secondary); font-size: 13px; }
.top-promo-bar a:hover { color: var(--primary); }
.topbar-sep { color: var(--border); margin: 0 10px; user-select: none; }

.topbar-category-menu {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}
.topbar-category-menu > a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color .2s;
}
.topbar-category-menu:hover > a { color: #fff; }
.topbar-category-menu > a:before { content: "☰"; margin-right: 6px; }
.topbar-category-menu .category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: var(--surface);
    z-index: 1400;
    display: none;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
}
.topbar-category-menu:hover .category-dropdown { display: block; }
.topbar-category-menu .category-dropdown li { padding: 0; }
.topbar-category-menu .cat-main { padding: 10px 16px; }
.topbar-category-menu .cat-main:hover { background: #f9fafb; }
.topbar-category-menu .cat-title {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    display: block;
    font-size: 14px;
}
.topbar-category-menu .cat-title:hover { color: var(--accent); }
.topbar-category-menu .cat-subs { margin-top: 4px; }
.topbar-category-menu .cat-subs a {
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    margin-right: 8px;
}
.topbar-category-menu .cat-subs a:hover { color: var(--accent); }
.topbar-category-menu .cat-promo {
    border-top: 1px solid var(--border);
    padding: 12px 16px;
}
.topbar-category-menu .cat-promo a {
    color: var(--accent);
    text-decoration: none;
    display: block;
    font-weight: 600;
}
.topbar-category-menu .cat-promo span { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 56px; max-width: 260px; object-fit: contain; }
.logo-text-aj {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 32px;
    line-height: 1;
    text-decoration: none;
}
.logo-text-aj strong { color: var(--accent); font-weight: 700; }
.logo-text-aj span { color: #ccc; font-weight: 400; }

.header-nav-aj { display: flex; align-items: center; gap: 0; }
.header-nav-aj a {
    color: #4d4d4d;
    font-size: 16px;
    padding: 0 22px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    transition: color .2s;
}
.header-nav-aj a:hover,
.header-nav-aj a.active { color: var(--accent); }

.header-actions-aj { display: flex; align-items: center; gap: 16px; }
.header-icon-aj {
    color: #4d4d4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background .2s, color .2s;
}
.header-icon-aj:hover { background: #f5f5f5; color: var(--primary); }

.search-box { flex: 1; max-width: 620px; }
.search-box form { display: flex; border: 2px solid var(--primary); border-radius: 50px; overflow: hidden; background: #fff; }
.search-box input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
}
.search-box button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.search-box button:hover { background: var(--primary-light); }
.kw-hot {
    margin: 8px 0 0 16px;
    font-size: 12px;
    color: var(--text-muted);
}
.kw-hot a { color: var(--text-muted); margin-right: 12px; }
.kw-hot a:hover { color: var(--accent); }

.topbar-cart { position: relative; }
.topbar-cart .cart-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff8f5;
    border: 1px solid #ffe0d4;
    color: var(--accent);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: all .2s;
}
.topbar-cart .cart-mini:hover { background: var(--accent); color: #fff; }
.topbar-cart .count {
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.topbar-cart .cart-mini:hover .count { background: #fff; color: var(--accent); }
.cart-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    width: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 1200;
}

/* 主导航 */
.main-nav-bar {
    background: #fff;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.main-nav-bar .container { display: flex; align-items: center; height: 48px; }
.nav-links { display: flex; gap: 0; }
.nav-links a {
    color: var(--text);
    padding: 0 24px;
    font-size: 15px;
    font-weight: 500;
    height: 48px;
    display: inline-flex;
    align-items: center;
    transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* 购物车数量角标 */
.header-icon-aj { position: relative; }
.header-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--accent, #f13a3a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
}
.mobile-bottom-nav a { position: relative; }
.mobile-cart-count {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--accent, #f13a3a);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 移动端 */
.mobile-menu-toggle { display: none; }
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
}
.mobile-search { display: none; }
.mobile-nav, .mobile-bottom-nav { display: none; }
.menu-toggle-checkbox, .mobile-menu-overlay { display: none; }

/* Hero */
.hero-aj {
    background: linear-gradient(110deg, var(--primary) 0%, var(--primary-light) 55%, #3d6a9f 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.hero-aj::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.hero-aj::after {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    background: rgba(232,102,43,0.25);
    border-radius: 50%;
}
.hero-aj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-aj-label {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-aj h1 { font-size: 48px; line-height: 1.15; margin-bottom: 20px; font-weight: 700; }
.hero-aj h1 strong { color: #ffdac9; }
.hero-aj p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; line-height: 1.7; }
.hero-aj-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
}
.hero-aj-btn:hover { background: var(--accent-light); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,102,43,0.35); }
.hero-aj-visual {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.hero-aj-visual img { width: 100%; height: 360px; object-fit: cover; }

/* 服务承诺条 */
.service-bar-aj {
    background: var(--surface);
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.service-bar-aj .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-item-aj {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
}
.service-icon-aj {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.service-item-aj strong { display: block; font-size: 15px; color: var(--text); }
.service-item-aj span { font-size: 13px; color: var(--text-muted); }

/* 分类快捷入口 */
.cat-section-aj { padding: 48px 0; }
.section-head-aj {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}
.section-head-aj h2 { font-size: 26px; font-weight: 700; color: var(--text); }
.section-head-aj h2 span { color: var(--accent); }
.section-head-aj .more {
    color: var(--text-muted);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.section-head-aj .more:hover { color: var(--accent); }
.cat-grid-aj {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}
.cat-card-aj {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 8px;
    text-align: center;
    transition: all .2s;
}
.cat-card-aj:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}
.cat-card-aj .cat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #f0f4f8;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all .2s;
}
.cat-card-aj:hover .cat-icon { background: var(--accent); color: #fff; }
.cat-card-aj strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.cat-card-aj span { font-size: 12px; color: var(--text-muted); }

/* Banner 轮播 */
.banner-section-aj { padding: 0 0 48px; }
.banner-grid-aj {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.banner-main-aj {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 360px;
}
.banner-main-aj img { width: 100%; height: 100%; object-fit: cover; }
.banner-side-aj {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.banner-side-aj .banner-item {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.banner-side-aj .banner-item img { width: 100%; height: 100%; object-fit: cover; }

/* 产品卡片通用 */
.product-grid-aj {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.product-card-aj {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all .2s;
}
.product-card-aj:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.product-card-aj .img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    overflow: hidden;
}
.product-card-aj .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card-aj:hover .img-wrap img { transform: scale(1.05); }
.product-card-aj .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}
.product-card-aj .info { padding: 14px; }
.product-card-aj h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
    margin-bottom: 10px;
}
.product-card-aj h3 a:hover { color: var(--accent); }
.product-card-aj .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

/* 楼层区 */
.floor-section-aj { padding: 48px 0; }
.floor-head-aj {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.floor-head-aj h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-bottom: -14px;
}
.floor-head-aj .floor-links a {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 20px;
}
.floor-head-aj .floor-links a:hover { color: var(--accent); }

/* 优惠区 */
.promo-section-aj {
    padding: 48px 0;
    background: linear-gradient(180deg, #fff 0%, #f0f4f8 100%);
}
.promo-grid-aj {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.promo-card-aj {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}
.promo-card-aj::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: rgba(232,102,43,0.08);
    border-radius: 0 0 0 120px;
}
.promo-card-aj strong { font-size: 20px; display: block; margin-bottom: 8px; color: var(--primary); }
.promo-card-aj p { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
.promo-card-aj .btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}
.promo-card-aj .btn:hover { background: var(--accent-light); color: #fff; }

/* 关于我们 */
.about-section-aj {
    padding: 60px 0;
    background: var(--surface);
}
.about-grid-aj {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-grid-aj h2 { font-size: 32px; margin-bottom: 20px; color: var(--primary); }
.about-grid-aj p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-stats-aj {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.about-stat-aj {
    text-align: center;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}
.about-stat-aj strong { display: block; font-size: 28px; color: var(--accent); }
.about-stat-aj span { font-size: 13px; color: var(--text-secondary); }

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 56px 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 { color: #fff; font-size: 22px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; color: rgba(255,255,255,0.75); }
.footer-links-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; }
.footer-links-col a, .footer-links-col span {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-links-col a:hover { color: var(--accent-light); }
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 0;
}
.footer-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .divider { margin: 0 10px; color: rgba(255,255,255,0.3); }

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--shadow);
}

/* 通用按钮 */
.btn-primary-aj {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all .2s;
}
.btn-primary-aj:hover { background: var(--accent-light); color: #fff; transform: translateY(-2px); }

/* 空状态 */
.empty-state-aj {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state-aj .icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }
.empty-state-aj h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.empty-state-aj p { font-size: 14px; }

/* 分类页 / 产品详情 / 结算页 旧结构颜色覆盖 */
.breadcrumb {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin: 20px 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: var(--text-muted); }

.section-title {
    font-size: 22px;
    color: var(--text);
    margin: 24px 0 18px;
    font-weight: 700;
}
.section-title strong { color: var(--primary); }
.section-title .result-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 12px;
}

.category-filter-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
}
.category-filter-row { display: flex; align-items: center; gap: 12px; }
.filter-label { font-size: 14px; color: var(--text-secondary); }
.sort-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.sort-bar a {
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 13px;
    border: 1px solid var(--border);
}
.sort-bar a:hover, .sort-bar a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 14px;
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination span.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination span.ellipsis { border: none; background: transparent; }

/* 产品详情页覆盖 */
.product-detail { margin: 20px 0 40px; }
.product-top {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}
.product-gallery {
    background: #f9fafb;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-summary h1 { font-size: 24px; color: var(--text); margin-bottom: 14px; font-weight: 700; }
.product-meta {
    display: flex;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 18px;
}
.product-price {
    background: #fff5f0;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
}
.product-price .price-label { color: var(--text-secondary); font-size: 14px; margin-right: 10px; }
.product-price .price-value { color: var(--accent); font-size: 32px; font-weight: 700; }
.product-guarantees {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}
.product-guarantees span { display: inline-flex; align-items: center; gap: 4px; }
.product-guarantees span::before { content: "✓"; color: var(--success); font-weight: bold; }
.product-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.product-qty label { font-size: 14px; color: var(--text-secondary); }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-xs); overflow: hidden; }
.qty-stepper button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
}
.qty-stepper input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
}
.product-actions { display: flex; gap: 12px; }
.product-actions .btn, .product-actions .btn-primary, .product-actions .btn-secondary {
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.product-actions .btn-primary, .product-actions .btn.btn-primary {
    background: var(--accent);
    color: #fff;
}
.product-actions .btn-primary:hover { background: var(--accent-light); }
.product-actions .btn-secondary {
    background: var(--primary);
    color: #fff;
}
.product-actions .btn-secondary:hover { background: var(--primary-light); }
.product-actions .btn:disabled { background: var(--text-muted); cursor: not-allowed; }

.product-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-top: 24px;
}
.product-section .section-title { margin-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}
.spec-table th { width: 160px; color: var(--text-secondary); background: var(--bg); }
.empty-tip { color: var(--text-muted); padding: 20px 0; }

.review-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}
.review-score { font-size: 42px; font-weight: 700; color: var(--accent); }
.review-stars { color: #f59e0b; font-size: 18px; }
.review-count { color: var(--text-muted); font-size: 14px; }
.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-item { padding: 16px; border-bottom: 1px solid var(--border); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-user { font-weight: 600; color: var(--text); }
.review-rating { color: #f59e0b; }
.review-date { color: var(--text-muted); font-size: 13px; margin-left: auto; }
.review-body { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.mobile-buy-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

/* 结算页覆盖 */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px 0;
}
.step-progress .step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}
.step-progress .step .num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.step-progress .step.done .num, .step-progress .step.active .num {
    background: var(--primary);
    color: #fff;
}
.step-progress .step.active { color: var(--primary); font-weight: 600; }
.step-progress .line { flex: 1; max-width: 80px; height: 2px; background: var(--border); }

/* Tables */
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { background: #f5fbff; font-weight: 700; color: var(--text-secondary); font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: #f5fbff; }
tbody tr:last-child td { border-bottom: none; }

/* 购物车 */
.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-secondary);
}
.empty-state h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
.empty-state p { font-size: 14px; }
.cart-table td, .cart-table th { vertical-align: middle; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
}
.cart-item .name { font-weight: 600; color: var(--text); }
.cart-qty {
    width: 70px;
    text-align: center;
    padding: 9px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 14px;
}
.cart-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.cart-total {
    font-size: 18px;
    font-weight: 600;
}
.cart-total strong { color: var(--primary); font-size: 28px; margin-left: 8px; }

/* 会员中心 */
.member-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 48px;
}
.member-sidebar {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.member-sidebar .profile {
    padding: 34px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
}
.member-sidebar .avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 16px;
    border: 2px solid rgba(255,255,255,0.2);
}
.member-sidebar .username { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.member-sidebar .email { font-size: 13px; opacity: 0.85; }
.member-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}
.member-menu a:hover, .member-menu a.active {
    color: var(--primary);
    background: rgba(0,140,220,0.08);
    padding-left: 28px;
}
.member-menu a:last-child { border-bottom: none; color: #dc2626; }
.member-menu a:last-child:hover { background: #fef2f2; }

.member-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 24px;
}
.member-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin: 0 0 24px;
    font-weight: 800;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.member-card table { width: 100%; border-collapse: collapse; }
.member-card th, .member-card td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}
.member-card th { background: var(--bg); color: var(--text-secondary); font-weight: 600; }

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.stat-card.primary .icon { background: rgba(0,140,220,0.10); color: var(--primary); }
.stat-card.accent .icon { background: rgba(241,58,58,0.10); color: var(--accent); }
.stat-card.success .icon { background: rgba(34,197,94,0.10); color: #16a34a; }
.stat-card .value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}
.stat-card .label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.cart-item { display: flex; align-items: center; gap: 12px; }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-xs); }
.cart-total { font-size: 16px; color: var(--text); }
.cart-total strong { color: var(--accent); font-size: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 14px;
    outline: none;
    transition: border .2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }

.btn, .btn-lg, .btn-blue, .btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-blue, .btn-primary { background: var(--accent); color: #fff; }
.btn-blue:hover, .btn-primary:hover { background: var(--accent-light); }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-light); }
.btn:disabled { background: var(--text-muted); cursor: not-allowed; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-green { background: #f0fdf4; color: #15803d; }
.badge-blue { background: #eff6ff; color: #1d4ed8; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-yellow { background: #fefce8; color: #a16207; }

.alert {
    padding: 14px 18px;
    margin: 16px 0;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #a16207; border: 1px solid #fde68a; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,140,220,0.05); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-blue { background: #6366f1; color: #fff; }
.btn-blue:hover { background: #4338ca; }

/* 登录/注册/会员等旧页面覆盖 */
.login-wrap, .register-wrap, .member-wrap {
    max-width: 460px;
    margin: 40px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.login-wrap h2, .register-wrap h2, .member-wrap h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 24px;
}
.login-wrap .form-group, .register-wrap .form-group { margin-bottom: 16px; }
.login-wrap input, .register-wrap input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 14px;
}
.login-wrap button, .register-wrap button {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.login-wrap button:hover, .register-wrap button:hover { background: var(--accent-light); }

/* 通用 auth-box（登录/注册/找回密码等） */
.auth-box {
    max-width: 460px;
    margin: 40px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.auth-box h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 24px;
}
.auth-box .form-group { margin-bottom: 16px; }
.auth-box .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}
.auth-box input[type=text],
.auth-box input[type=password],
.auth-box input[type=email],
.auth-box input[type=tel] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 14px;
    outline: none;
}
.auth-box input[type=text]:focus,
.auth-box input[type=password]:focus,
.auth-box input[type=email]:focus,
.auth-box input[type=tel]:focus { border-color: var(--primary); }
.auth-box button[type=submit],
.auth-box .btn {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}
.auth-box button[type=submit]:hover,
.auth-box .btn:hover { background: var(--accent-light); }
.auth-box p {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}
.auth-box p a { color: var(--primary); }
.auth-box p a:hover { text-decoration: underline; }
.auth-box input[type=checkbox] { width: auto; margin-top: 4px; }

/* 协议/内容页 */
.policy-page, .about-page {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin: 24px auto 48px;
    max-width: 900px;
}
.policy-page h1, .about-page h1 { color: var(--primary); font-size: 28px; margin-bottom: 24px; }
.policy-page h2, .about-page h2 { color: var(--text); font-size: 20px; margin: 28px 0 14px; }
.policy-page p, .about-page p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.policy-page ul, .about-page ul { margin: 0 0 16px 20px; color: var(--text-secondary); }
.policy-page li, .about-page li { margin-bottom: 8px; line-height: 1.7; }

/* 占位图 */
.placeholder-img {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    min-height: 120px;
}
.placeholder-img.small { min-height: 80px; font-size: 12px; }

/* 通用标题 */
.section-title-aj {
    text-align: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}
.section-subtitle-aj {
    text-align: center;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 14px;
    line-height: 1.8;
}

/* 全屏 Hero */
.hero-full-aj {
    min-height: 716px;
    height: 716px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-full-aj::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.10) 55%, rgba(0,0,0,0.00) 100%);
}
.hero-full-inner-aj {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 90px 24px 80px;
    gap: 60px;
}
.hero-left-aj {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 420px;
}
.hero-service-aj {
    color: #fff;
}
.hero-service-aj h4 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}
.hero-service-aj p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}
.hero-title-aj { color: #fff; }
.hero-title-aj h2 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
}
.hero-title-aj h2 em {
    color: #f13a3a;
    font-style: normal;
    margin-right: 8px;
}
.hero-title-aj p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.92;
    margin-bottom: 24px;
}

.hero-right-aj {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}
.hero-product-card-aj {
    width: 220px;
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: transform .2s;
}
.hero-product-card-aj:hover { transform: translateY(-6px); }
.hero-product-card-aj span {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}
.hero-product-card-aj img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

/* 热门关键词条 */
.hero-keywords-bar-aj {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.95);
    padding: 14px 0;
    font-size: 12px;
    color: #666;
}
.hero-keywords-bar-aj .container { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.hero-keywords-bar-aj span { color: #333; margin-right: 8px; }
.hero-keywords-bar-aj a {
    color: #666;
    margin-right: 20px;
    transition: color .2s;
}
.hero-keywords-bar-aj a:hover { color: var(--primary); }

/* 分类快捷入口区 */
.cat-zone-aj { padding: 50px 0; background: #fff; }
.cat-zone-grid-aj {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.cat-zone-item-aj {
    text-align: center;
    text-decoration: none;
    transition: transform .2s;
    width: 120px;
}
.cat-zone-item-aj:hover { transform: translateY(-4px); }
.cat-zone-img-aj {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f9f9f9;
}
.cat-zone-img-aj img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-zone-item-aj span {
    font-size: 16px;
    color: #4d4d4d;
    font-weight: 500;
}

/* 产品楼层 tab */
.product-tabs-aj { padding: 56px 0; background: #f8f8f8; }
.tab-head-aj {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
}
.tab-head-aj span {
    padding: 10px 0;
    font-size: 16px;
    color: #4d4d4d;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.tab-panel-aj { display: none; }
.tab-panel-aj.active { display: block; }
.empty-products-aj { text-align:center; padding: 60px 20px; color: var(--text-secondary); font-size: 16px; }
.tab-head-aj span.active,
.tab-head-aj span:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.empty-products-aj {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: #fff;
    border: 1px dashed #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

/* 为什么选择我们 */
.why-us-aj {
    padding: 60px 0;
    background: #fff;
    color: #333;
}
.section-head-aj { text-align: center; margin-bottom: 40px; }
.section-head-aj h2 {
    font-size: 36px;
    color: #4d4d4d;
    margin-bottom: 10px;
    font-weight: 700;
}
.section-head-aj p {
    color: #999;
    font-size: 14px;
}
.why-grid-aj {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-item-aj {
    background: #f8f8f8;
    border-radius: 4px;
    padding: 28px;
}
.why-item-aj strong {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #4d4d4d;
}
.why-item-aj p {
    color: #999;
    font-size: 13px;
    line-height: 1.7;
}

/* 关于我们 */
.about-section-aj {
    padding: 60px 0;
    background: #f8f8f8;
}
.about-grid-aj {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}
.about-text-aj h2 {
    font-size: 36px;
    color: #4d4d4d;
    margin-bottom: 18px;
    font-weight: 700;
}
.about-text-aj p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 14px;
}
.about-img-aj {
    border-radius: 4px;
    overflow: hidden;
    min-height: 320px;
}
.about-img-aj img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 通用按钮 */
.btn-primary-aj {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s, transform .2s;
}
.btn-primary-aj:hover { background: #e02a2a; transform: translateY(-1px); }

/* 响应式 */
@media (max-width: 1024px) {
    .header-nav-aj { display: none; }
    .hero-full-inner-aj { flex-direction: column; align-items: center; text-align: center; padding: 60px 24px 60px; gap: 40px; }
    .hero-left-aj { align-items: center; }
    .hero-right-aj { justify-content: center; }
    .cat-zone-grid-aj { gap: 24px; }
    .cat-zone-item-aj { width: 100px; }
    .cat-zone-img-aj { width: 90px; height: 90px; }
    .why-grid-aj { grid-template-columns: repeat(2, 1fr); }
    .about-grid-aj { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .site-header .container { height: 64px; }
    .logo-text-aj { font-size: 24px; }
    .header-actions-aj { display: none; }

    /* 移动端汉堡菜单 + 底部导航 */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        padding: 10px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        position: fixed;
        top: 8px;
        right: 14px;
        z-index: 2000;
    }
    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        min-height: 2px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: 0.3s;
        flex-shrink: 0;
    }
    #menu-toggle:checked ~ .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #menu-toggle:checked ~ .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-search { display: block; padding: 10px 16px; background: #f8f8f8; border-bottom: 1px solid var(--border); }
    .mobile-search form { display: flex; border: 1px solid var(--border); border-radius: 50px; overflow: hidden; }
    .mobile-search input { flex: 1; border: none; padding: 10px 16px; outline: none; font-size: 14px; }
    .mobile-search button { background: var(--primary); color: #fff; border: none; padding: 0 18px; font-size: 14px; }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        box-shadow: -4px 0 24px rgba(0,0,0,0.12);
        z-index: 1999;
        transform: translateX(110%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    .mobile-nav-header {
        padding: 20px;
        background: var(--primary);
        color: #fff;
        position: relative;
    }
    .mobile-nav-close {
        position: absolute;
        top: 12px;
        right: 16px;
        font-size: 22px;
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-nav-header .username,
    .mobile-nav-header .welcome { font-size: 14px; margin-bottom: 8px; padding-right: 24px; }
    .mobile-nav-header .user-btns { display: flex; gap: 10px; }
    .mobile-nav-header .user-btns a {
        padding: 6px 14px;
        border-radius: 50px;
        background: rgba(255,255,255,0.2);
        color: #fff;
        font-size: 13px;
        text-decoration: none;
    }
    .mobile-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        color: var(--text);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
    }
    .mobile-nav a .nav-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--bg);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
    }
    .mobile-nav a.active { color: var(--primary); background: #f8fbff; }
    .mobile-nav a.active .nav-icon { background: var(--primary); color: #fff; }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 1998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    #menu-toggle:checked ~ .mobile-nav { transform: translateX(0); }
    #menu-toggle:checked ~ .mobile-menu-overlay { opacity: 1; pointer-events: auto; }
    body:has(#menu-toggle:checked) { overflow: hidden; }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0,0,0,0.06);
        border-radius: 22px 22px 0 0;
        z-index: 900;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    }
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        flex: 1;
        height: 100%;
        transition: color 0.2s;
    }
    .mobile-bottom-nav a.active { color: var(--primary); }

    .mobile-search { display: block; padding: 12px 16px; background: #f8f8f8; }
    .mobile-search form { display: flex; border: 1px solid #e0e0e0; border-radius: 50px; overflow: hidden; }
    .mobile-search input { flex: 1; border: none; padding: 10px 16px; outline: none; }
    .mobile-search button { background: var(--primary); color: #fff; border: none; padding: 0 18px; }
    .hero-full-aj { height: auto; min-height: auto; }
    .hero-full-inner-aj { padding: 40px 16px 60px; }
    .hero-title-aj h2 { font-size: 32px; }
    .hero-right-aj { flex-direction: column; align-items: center; }
    .hero-product-card-aj { width: 180px; }
    .hero-keywords-bar-aj { display: none; }
    .cat-zone-grid-aj { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .cat-zone-item-aj { width: auto; }
    .cat-zone-img-aj { width: 80px; height: 80px; }

    /* 分类页/商品列表移动端 */
    .category-filter-bar { padding: 12px 14px; }
    .category-filter-row { flex-wrap: wrap; gap: 8px; }
    .filter-label { font-size: 13px; }
    .sort-bar { gap: 6px; }
    .sort-bar a { padding: 5px 12px; font-size: 12px; }
    .product-grid-aj { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card-aj .info { padding: 10px; }
    .product-card-aj h3 { font-size: 12px; height: 36px; margin-bottom: 6px; }
    .product-card-aj .price { font-size: 15px; }
    .product-card-aj .tag { font-size: 10px; padding: 2px 6px; }

    .cat-zone-item-aj span { font-size: 13px; }
    .tab-head-aj { flex-wrap: wrap; gap: 12px; }
    .why-grid-aj { grid-template-columns: 1fr; }
    .about-grid-aj { grid-template-columns: 1fr; }
    .about-stats-aj { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
    .product-top { grid-template-columns: 1fr; padding: 20px; }
    .product-gallery { max-width: 360px; margin: 0 auto; }
    .mobile-buy-bar { display: flex; }
    body { padding-bottom: 70px; }
    .policy-page, .about-page { padding: 24px; margin: 16px; }

    .cart-table td:nth-child(1)::before { content: '商品'; }
    .cart-table td:nth-child(2)::before { content: '单价'; }
    .cart-table td:nth-child(3)::before { content: '数量'; }
    .cart-table td:nth-child(4)::before { content: '小计'; }
    .cart-qty { width: 90px; padding: 8px; }
    .cart-summary { flex-direction: column; align-items: flex-start; padding: 18px; }
    .cart-total { font-size: 16px; }
    .cart-total strong { font-size: 22px; }

    .member-layout { grid-template-columns: 1fr; gap: 18px; }
    .member-sidebar { border-radius: var(--radius-sm); }
    .member-sidebar .profile { padding: 22px 18px; }
    .member-menu a { padding: 14px 18px; }
    .member-card { padding: 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
    .member-card h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; }
    .dashboard-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .stat-card { padding: 14px 8px; }
    .stat-card .icon { width: 40px; height: 40px; font-size: 18px; }
    .stat-card .value { font-size: 20px; }
    .stat-card .label { font-size: 11px; }
    .auth-box { padding: 28px 20px; margin: 30px auto; border-radius: var(--radius-sm); }
}
