﻿/* ============================================================
   商城样式  shop.css  v2
   浅灰底 + 白色卡片 + 橙色 #FF9900 点缀
   玻璃拟态只保留在 Hero / 注册登录页
   ============================================================ */
:root {
    --brand: #FF9900; --brand-light: #ffb84d; --brand-dark: #cc7a00;
    --brand-soft: #fff7ed; --brand-border: #fed7aa;
    --ink-1: #0f172a; --ink-2: #1e293b; --ink-3: #475569;
    --ink-4: #64748b; --ink-5: #94a3b8; --ink-6: #cbd5e1;
    --page-bg: #f5f7fa; --card-bg: #ffffff; --bg-soft: #f8fafc;
    --line: #e2e8f0; --line-soft: #f1f5f9;
    --success: #10b981; --danger: #ef4444; --info: #3b82f6; --warning: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 16px 40px -12px rgba(15, 23, 42, 0.18);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--page-bg); color: var(--ink-2);
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    font-size: 14px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
/* ===================  Header  =================== */
.site-header { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.header-top { max-width: 1280px; margin: 0 auto; padding: 18px 32px;
    display: flex; align-items: center; gap: 36px;
    position: relative; z-index: 2; }
.site-logo { flex-shrink: 0; }
.header-actions { margin-left: auto; }
.header-user { z-index: 10; }
.user-dropdown { z-index: 1000; box-shadow: 0 12px 32px -8px rgba(15,23,42,0.18); }
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--ink-1); font-weight: 700; font-size: 20px; }
.site-logo .logo-mark { width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3); }
.site-logo .logo-text { letter-spacing: -0.3px; }
.site-logo .logo-text .accent { color: var(--brand); }

.header-search { display: flex; align-items: center; background: var(--bg-soft);
    border: 2px solid var(--line); border-radius: 22px; padding: 4px 4px 4px 20px;
    transition: all 0.2s; max-width: 560px; }
.header-search:focus-within { border-color: var(--brand); background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.1); }
.header-search input { flex: 1; border: none; outline: none; background: transparent;
    font-size: 14px; color: var(--ink-2); padding: 8px 0; font-family: inherit; }
.header-search button { background: var(--brand); color: #fff; border: none; cursor: pointer;
    padding: 8px 22px; border-radius: 18px; font-size: 13px; font-weight: 600;
    transition: all 0.2s; display: flex; align-items: center; gap: 4px; }
.header-search button:hover { background: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-action-btn { position: relative; display: flex; flex-direction: column; align-items: center;
    color: var(--ink-3); font-size: 12px; padding: 6px 10px; border-radius: 8px;
    cursor: pointer; transition: all 0.2s; min-width: 56px; }
.header-action-btn:hover { background: var(--bg-soft); color: var(--brand); }
.header-action-btn i { font-size: 22px; color: var(--ink-3); transition: color 0.2s; }
.header-action-btn:hover i { color: var(--brand); }
.header-action-btn .badge { position: absolute; top: 2px; right: 4px;
    background: var(--brand); color: #fff; border-radius: 10px; padding: 0 6px;
    font-size: 11px; font-weight: 700; line-height: 16px; border: 2px solid #fff;
    min-width: 18px; text-align: center;
    transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1), opacity 0.25s; }
.header-action-btn .badge.badge-hidden { opacity: 0; transform: scale(0); pointer-events: none; }
.header-action-btn .badge.badge-bump { animation: badgeBump 0.6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes badgeBump {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.5); background: #ef4444; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.header-action-btn.cart-shake { animation: cartShake 0.5s ease-out; }
@keyframes cartShake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-3px) rotate(-3deg); }
    40%      { transform: translateX(3px)  rotate(3deg); }
    60%      { transform: translateX(-2px) rotate(-2deg); }
    80%      { transform: translateX(2px)  rotate(2deg); }
}
.header-cta { background: var(--brand); color: #fff; padding: 8px 18px; border-radius: 20px;
    font-size: 13px; font-weight: 600; transition: all 0.2s; box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3); }
.header-cta:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.header-user { display: flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 6px; border-radius: 22px; background: var(--bg-soft);
    cursor: pointer; transition: all 0.2s; position: relative; }
.header-user:hover { background: var(--line-soft); }
.header-user .avatar { width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; }
.header-user .uname { font-size: 13px; color: var(--ink-2); max-width: 80px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown { position: absolute; top: 100%; right: 0; margin-top: 8px;
    background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
    min-width: 180px; padding: 6px; border: 1px solid var(--line-soft); display: none; }
/* 透明 hover 桥：连接触发器和下拉菜单，消除 8px gap 导致的闪烁 */
.user-dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.header-user:hover .user-dropdown { display: block; }
.user-dropdown a { display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 8px; color: var(--ink-3); font-size: 13px; }
.user-dropdown a:hover { background: var(--bg-soft); color: var(--brand); }
.user-dropdown hr { border: none; border-top: 1px solid var(--line-soft); margin: 4px 0; }

.header-nav {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-top: 1px solid var(--line-soft);
    position: relative; z-index: 1;
    box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.08);
}
.header-nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: stretch; height: 64px;
    justify-content: flex-start;
    position: relative; gap: 6px;
}
/* 每个导航项：按内容宽度，紧凑居中 */
.header-nav-inner .nav-item {
    flex: 0 0 auto; min-width: 0;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--ink-3); font-size: 15px; font-weight: 500;
    position: relative; white-space: nowrap; cursor: pointer;
    text-decoration: none; padding: 0 22px;
    transition: color 0.25s ease;
}
.header-nav-inner .nav-item i {
    font-size: 20px; color: var(--ink-4);
    transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1), color 0.25s;
}
.header-nav-inner .nav-item:hover { color: var(--brand); }
.header-nav-inner .nav-item:hover i {
    transform: translateY(-3px) scale(1.2);
    color: var(--brand);
}
.header-nav-inner .nav-item.active { color: var(--brand); font-weight: 700; }
.header-nav-inner .nav-item.active i { color: var(--brand); }
/* 滑动指示器（橙色条） */
.nav-slider {
    position: absolute; bottom: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, #FF9900 0%, #ff7a00 100%);
    border-radius: 2px 2px 0 0;
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1),
                width 0.45s cubic-bezier(.4, 0, .2, 1),
                opacity 0.3s;
    pointer-events: none; opacity: 0;
    box-shadow: 0 -2px 10px rgba(255, 153, 0, 0.35);
}
/* 商家入驻特殊样式：右侧高亮 CTA 按钮 */
.header-nav-inner .nav-cta {
    flex: 0 0 auto;
    margin: auto 0 auto auto; padding: 0 22px;
    height: 40px;
    background: linear-gradient(135deg, #FF9900 0%, #ff7a00 100%);
    color: #fff; border-radius: 100px;
    font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px;
    box-shadow: 0 8px 18px -6px rgba(255, 153, 0, 0.55);
    transition: transform 0.25s, box-shadow 0.25s;
}
.header-nav-inner .nav-cta i { color: #fff; transition: transform 0.35s cubic-bezier(.34,1.56,.64,1); }
.header-nav-inner .nav-cta:hover {
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(255, 153, 0, 0.75);
}
.header-nav-inner .nav-cta:hover i { transform: translateX(2px) scale(1.15); }
.header-nav-inner .nav-cta.active {
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
    box-shadow: 0 10px 24px -4px rgba(255, 153, 0, 0.85);
}
/* 强制 CTA 按钮文字/图标在所有状态下都是白色（覆盖 .nav-item.active 的橙色） */
.header-nav-inner .nav-item.nav-cta,
.header-nav-inner .nav-item.nav-cta:hover,
.header-nav-inner .nav-item.nav-cta.active,
.header-nav-inner .nav-item.nav-cta:focus {
    color: #fff;
}
.header-nav-inner .nav-item.nav-cta i,
.header-nav-inner .nav-item.nav-cta:hover i,
.header-nav-inner .nav-item.nav-cta.active i,
.header-nav-inner .nav-item.nav-cta:focus i {
    color: #fff;
}
/* ===================  Main + Hero  =================== */
.shop-main { max-width: 1280px; margin: 0 auto; padding: 24px 32px 48px; animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero-banner { position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 50%, #00b4d8 100%);
    border-radius: 20px; padding: 48px 56px; margin-bottom: 24px;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #fff; }
.hero-banner::before { content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 153, 0, 0.3), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.4), transparent 50%);
    pointer-events: none; }
.hero-banner > * { position: relative; z-index: 1; }
.hero-banner .hero-icon-bg { position: absolute; color: rgba(255, 255, 255, 0.08);
    pointer-events: none; animation: float 8s infinite ease-in-out; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-15px) rotate(5deg); } }
.hero-banner h1 { font-size: 40px; font-weight: 800; line-height: 1.15; margin: 0 0 14px; color: #fff; }
.hero-banner h1 .accent { color: var(--brand); }
.hero-banner .hero-desc { font-size: 16px; color: rgba(255, 255, 255, 0.8); margin: 0 0 24px; max-width: 480px; }
.hero-search-box { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border-radius: 24px; padding: 6px 6px 6px 22px;
    display: flex; align-items: center; max-width: 480px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3); }
.hero-search-box input { flex: 1; border: none; outline: none; background: transparent;
    font-size: 14px; padding: 10px 0; color: var(--ink-2); font-family: inherit; }
.hero-search-box button { background: var(--brand); color: #fff; border: none; cursor: pointer;
    padding: 10px 24px; border-radius: 18px; font-size: 14px; font-weight: 600; }
.hero-search-box button:hover { background: var(--brand-dark); }
.hero-hot { margin-top: 16px; display: flex; gap: 12px;
    color: rgba(255,255,255,0.7); font-size: 12px; align-items: center; }
.hero-hot a { color: rgba(255,255,255,0.85); }
.hero-hot a:hover { color: var(--brand); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    padding-top: 24px; margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15); }
.hero-stat .num { font-size: 24px; font-weight: 700; color: var(--brand); }
.hero-stat .lbl { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin-top: 4px; }
.hero-art { display: flex; align-items: center; justify-content: center;
    font-size: 180px; color: rgba(255, 153, 0, 0.5);
    filter: drop-shadow(0 10px 30px rgba(255, 153, 0, 0.4));
    animation: float 6s infinite ease-in-out; }

.glass-card { background: var(--card-bg); border-radius: 14px; padding: 24px;
    box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.section-title { font-size: 20px; font-weight: 700; color: var(--ink-1); margin: 0 0 18px;
    display: flex; align-items: center; gap: 10px; }
.section-title .bar { width: 4px; height: 18px; background: var(--brand); border-radius: 2px; }
.section-title .more { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--ink-4); }
.section-title .more:hover { color: var(--brand); }

.service-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.service-item { background: #fff; border-radius: 12px; padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); transition: all 0.2s; }
.service-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-border); }
.service-item i { font-size: 28px; color: var(--brand); background: var(--brand-soft);
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; }
.service-item .t { font-weight: 600; color: var(--ink-1); font-size: 14px; }
.service-item .s { font-size: 12px; color: var(--ink-4); margin-top: 2px; }

.category-bar { display: flex; flex-wrap: wrap; gap: 10px;
    padding: 16px 20px; background: #fff; border-radius: 12px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); margin-bottom: 20px; }
.category-pill { padding: 8px 18px; background: var(--bg-soft); color: var(--ink-3);
    border-radius: 18px; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.category-pill:hover { background: var(--brand-soft); color: var(--brand-dark); }
.category-pill.active { background: var(--brand); color: #fff; box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3); }
/* ===================  Products Grid  =================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer;
    transition: all 0.3s cubic-bezier(.2,.8,.2,1);
    box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
    display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-border); }
.product-card .img-box { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); position: relative; }
.product-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .img-box img { transform: scale(1.06); }
.product-card .img-placeholder { width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: var(--ink-5); font-size: 44px; }
.product-card .tag { position: absolute; top: 10px; left: 10px;
    background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 4px; }
.product-card .info { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.product-card .name { font-size: 14px; font-weight: 500; color: var(--ink-2);
    line-height: 1.4; height: 40px; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card .subtitle { font-size: 12px; color: var(--ink-5); margin-top: 4px;
    height: 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-card .bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; }
.product-card .price { font-size: 20px; font-weight: 700; color: var(--brand); line-height: 1; }
.product-card .price small { font-size: 12px; font-weight: 600; }
.product-card .sales { font-size: 11px; color: var(--ink-5); }

/* ===================  Buttons  =================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; border: 1px solid transparent; outline: none;
    font-family: inherit; text-decoration: none; line-height: 1.4; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 10px rgba(255, 153, 0, 0.25); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(255, 153, 0, 0.35); }
.btn-ghost { background: #fff; color: var(--ink-3); border-color: var(--line); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.btn-danger { background: #fee2e2; color: var(--danger); }
.btn-danger:hover { background: #fecaca; }
.btn-dark { background: var(--ink-1); color: #fff; }
.btn-dark:hover { background: #334155; color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ===================  Detail Page  =================== */
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.detail-gallery .main-img { width: 100%; aspect-ratio: 4 / 3;
    border-radius: 14px; overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow-md); }
.detail-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .main-img .ph { width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: var(--ink-5); font-size: 80px; }

/* === 店铺信息卡片 === */
.store-info-card { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px;
    overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.store-card-header { padding: 12px 18px; background: linear-gradient(135deg, #f0f9ff, #e8f4fd);
    font-weight: 700; font-size: 15px; color: #1e429f; display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid #dbeafe; }
.store-card-header i { color: #3b82f6; font-size: 18px; }
.store-card-body { padding: 8px 0; }
.store-row { display: flex; padding: 10px 18px; border-bottom: 1px dashed #f1f5f9; }
.store-row:last-child { border-bottom: none; }
.store-label { width: 65px; flex-shrink: 0; font-size: 13px; color: #64748b; font-weight: 500; }
.store-value { font-size: 13px; color: var(--ink-2); flex: 1; }
.store-value.store-name { font-weight: 700; color: var(--ink-1); }

/* 店铺级别标签 */
.level-tag { font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 20px; font-weight: 600; }
.level-tag.flagship { background: #fef3c7; color: #92400e; }
.level-tag.franchise { background: #e0f2fe; color: #0369a1; }
.level-tag.exclusive { background: #ede9fe; color: #6d28d9; }
.level-tag.self { background: #dcfce7; color: #166534; }
.level-tag.other { background: #f1f5f9; color: #64748b; }

/* 进店逛逛按钮 */
.store-enter-btn { display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 0; margin: 0 18px 16px; background: linear-gradient(135deg, #FF9900, #FF6B00);
    color: #fff; font-size: 15px; font-weight: 700; border-radius: 10px; text-decoration: none;
    cursor: pointer; transition: all 0.25s; box-shadow: 0 4px 14px rgba(255,153,0,0.35); }
.store-enter-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,153,0,0.45); }
.store-enter-btn i { font-size: 16px; }

/* ===================  Store Page  =================== */
.store-page-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }

/* 左侧店铺信息 */
.store-sidebar { position: sticky; top: 20px; }
.store-profile { padding: 0 !important; overflow: hidden; }
.store-profile-header { display: flex; align-items: center; gap: 10px;
    padding: 20px 20px 0; font-size: 20px; font-weight: 700; color: var(--ink-1); }
.store-profile-header i { font-size: 24px; color: #FF9900; }
.store-level-badge { padding: 6px 20px 0; }
.store-profile-body { padding: 16px 20px; }
.sp-row { display: flex; align-items: flex-start; gap: 8px; padding: 10px 0;
    border-bottom: 1px dashed #f1f5f9; font-size: 13px; }
.sp-row:last-child { border-bottom: none; }
.sp-row i { color: #94a3b8; font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.sp-label { color: #64748b; flex-shrink: 0; min-width: 38px; }
.sp-val { color: var(--ink-2); word-break: break-all; }
.store-profile-desc { padding: 0 20px 20px; }
.sp-desc-title { font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.sp-desc-title i { color: #3b82f6; }
.store-profile-desc p { font-size: 13px; color: #64748b; line-height: 1.7; margin: 0; }

/* 右侧商品区 */
.store-products-header { margin-bottom: 18px; display: flex; align-items: center; }
.store-products-header h2 { font-size: 20px; font-weight: 700; color: var(--ink-1); margin: 0; }
.count-badge { display: inline-block; background: var(--brand-soft); color: var(--brand);
    font-size: 13px; padding: 2px 10px; border-radius: 20px; margin-left: 8px; font-weight: 600; }

/* 分页 */
.pagination-box { margin-top: 28px; text-align: center; }
.pagination-box .pagination { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pagination-box .pagination li { list-style: none; }
.pagination-box .pagination li a,
.pagination-box .pagination li span { display: block; padding: 6px 14px; border-radius: 8px;
    background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: 13px; text-decoration: none; transition: all 0.2s; }
.pagination-box .pagination li a:hover { border-color: var(--brand); color: var(--brand); }
.pagination-box .pagination li.active span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pagination-box .pagination li.disabled span { color: #ccc; cursor: default; }

@media (max-width: 768px) {
    .store-page-wrap { grid-template-columns: 1fr; }
    .store-sidebar { position: static; }
}

.detail-info .p-name { font-size: 24px; font-weight: 700; color: var(--ink-1); line-height: 1.3; margin: 0 0 8px; }
.detail-info .p-sub { color: var(--ink-4); font-size: 14px; margin-bottom: 16px; }
.detail-info .p-price { background: linear-gradient(135deg, var(--brand-soft), #fffaf2);
    border-radius: 12px; padding: 18px 22px; margin-bottom: 22px;
    display: flex; align-items: baseline; gap: 14px; border: 1px solid var(--brand-border); }
.detail-info .p-price .now { font-size: 32px; font-weight: 800; color: var(--brand); }
.detail-info .p-price .lbl { color: var(--ink-4); font-size: 13px; }
.detail-info .p-price .market { color: var(--ink-5); font-size: 13px; text-decoration: line-through; }
.block-row { padding: 16px 0; border-top: 1px dashed var(--line); }
.block-row .lbl { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; display:flex; align-items:center; }
.block-row .lbl-tip { font-size: 12px; font-weight: 400; color: #94a3b8; margin-left: 4px; }
.sku-tip-line { display:block; margin-top:10px; color:#94a3b8; font-size:12px; }
.sku-tip-line i { color: #FF9900; }
.sku-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sku-chip { display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; background: #fff;
    border: 2px solid var(--line); border-radius: 10px;
    font-size: 13px; color: var(--ink-2); cursor: pointer;
    transition: all 0.2s; min-width: 60px; }
.sku-chip:hover { border-color: var(--brand-light); color: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255,153,0,0.12); }
.sku-chip.active { border-color: var(--brand); background: var(--brand-soft);
    color: var(--brand-dark); font-weight: 600; box-shadow: 0 3px 12px rgba(255,153,0,0.2); }
.sku-chip .sku-spec-name { font-size: 13px; }
.sku-chip .sku-price { font-weight: 700; margin-left: 6px; color: var(--brand); }
.sku-chip.active .sku-price { color: var(--brand-dark); }

/* === 商品详情 Tab 框 === */
.detail-tabs-wrap { margin-top: 36px; padding-top: 4px;
    border-radius: 14px; overflow: hidden;
    background: #fff; border: 1px solid var(--line); }
.detail-tab-head { display: flex; gap: 0; background: var(--bg-soft);
    border-bottom: 1px solid var(--line); }
.detail-tab-item { padding: 14px 24px; cursor: pointer; font-size: 14px;
    font-weight: 600; color: var(--ink-4); transition: all 0.2s;
    border-right: 1px solid var(--line); position: relative; }
.detail-tab-item i { margin-right: 6px; }
.detail-tab-item:hover { color: var(--brand-dark); background: #fff; }
.detail-tab-item.active { color: var(--brand); background: #fff; }
.detail-tab-item.active::after { content: ''; position: absolute;
    left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand); }
.detail-tab-body { padding: 24px; min-height: 200px; }
.detail-tab-pane { display: none; animation: fadeIn 0.3s; }
.detail-tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.desc-content { color: var(--ink-2); line-height: 1.9; font-size: 14px;
    white-space: pre-wrap; word-break: break-word; }
/* 商品详情图集（description 为空时展示） */
.desc-gallery { display: flex; flex-direction: column; gap: 8px; }
.desc-gallery img { display: block; width: 100%; max-width: 800px; margin: 0 auto; height: auto; border-radius: 8px; }
    white-space: pre-wrap; word-break: break-word; }
.desc-empty { text-align: center; padding: 40px 20px; color: var(--ink-5); }
.desc-empty i { font-size: 48px; color: #cbd5e1; display: block; margin-bottom: 12px; }
.desc-empty p { font-size: 14px; margin: 6px 0; }
.desc-empty p.sub { font-size: 12px; color: #cbd5e1; }
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.service-row { display: flex; gap: 12px; padding: 16px; background: var(--bg-soft);
    border-radius: 10px; border-left: 3px solid var(--brand); }
.service-row .service-icon { width: 38px; height: 38px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; }
.service-row h4 { margin: 0 0 4px; font-size: 14px; color: var(--ink-2); }
.service-row p { margin: 0; font-size: 12px; color: var(--ink-4); line-height: 1.6; }
.qty-ctrl { display: inline-flex; align-items: center;
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty-ctrl button { width: 36px; height: 36px; border: none; background: var(--bg-soft);
    cursor: pointer; font-size: 16px; color: var(--ink-3); transition: background 0.2s; }
.qty-ctrl button:hover { background: var(--line-soft); color: var(--brand); }
.qty-ctrl input { width: 52px; height: 36px; text-align: center;
    border: none; outline: none; font-size: 14px; font-weight: 600; color: var(--ink-1);
    border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; font-family: inherit; }
.detail-actions { display: flex; gap: 12px; margin-top: 22px; }
.detail-actions .btn { flex: 1; padding: 13px; font-size: 15px; }
.detail-tabs { margin-top: 36px; background: #fff; border-radius: 14px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); overflow: hidden; }
.tab-head { display: flex; border-bottom: 1px solid var(--line-soft); }
.tab-head .t { padding: 16px 28px; cursor: pointer; font-weight: 600;
    color: var(--ink-4); border-bottom: 2px solid transparent; transition: all 0.2s; }
.tab-head .t.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-body { padding: 24px 28px; color: var(--ink-3); line-height: 1.8; font-size: 14px; }
/* ===================  Cart  =================== */
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: grid; grid-template-columns: auto 88px 1fr auto auto auto;
    gap: 16px; align-items: center; padding: 16px; background: #fff; border-radius: 10px;
    border: 1px solid var(--line-soft); transition: all 0.2s; }
.cart-item:hover { box-shadow: var(--shadow-md); border-color: var(--line); }
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.cart-item .ph-small { width: 88px; height: 88px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--ink-5); border-radius: 8px; font-size: 32px; }
.cart-item .meta .name { font-weight: 600; color: var(--ink-2); margin-bottom: 4px; font-size: 14px; }
.cart-item .meta .name a { color: var(--ink-2); }
.cart-item .meta .name a:hover { color: var(--brand); }
.cart-item .meta .sku { font-size: 12px; color: var(--ink-5); }
.cart-item .price-col { font-weight: 700; color: var(--ink-2); min-width: 90px; text-align: right; }
.cart-item .price-col .sub { font-size: 12px; color: var(--ink-5); font-weight: 400; margin-top: 2px; }
.cart-item .del-btn { width: 32px; height: 32px; border-radius: 8px;
    border: none; background: transparent; cursor: pointer;
    color: var(--ink-5); font-size: 16px; transition: all 0.2s; }
.cart-item .del-btn:hover { background: #fee2e2; color: var(--danger); }
.checkbox { width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 4px;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; background: #fff; flex-shrink: 0; }
.checkbox.checked { background: var(--brand); border-color: var(--brand); color: #fff; }
.checkbox.checked::after { content: '✓'; font-size: 12px; font-weight: 700; }
.cart-footer { position: sticky; bottom: 16px; background: #fff; border-radius: 12px;
    padding: 16px 22px; margin-top: 20px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; }
.cart-footer .total { font-size: 22px; font-weight: 800; color: var(--brand); }
.cart-footer .total small { font-size: 13px; color: var(--ink-4); font-weight: 500; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-4); }
.empty-state .icon { font-size: 60px; color: var(--ink-6); margin-bottom: 14px; }
.empty-state h3 { font-size: 17px; color: var(--ink-2); margin: 0 0 6px; font-weight: 600; }
.empty-state p { font-size: 13px; margin: 0 0 18px; }

/* ===================  Checkout  =================== */
.checkout-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.section-block { background: #fff; border-radius: 12px; padding: 22px 24px; margin-bottom: 16px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.section-block h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--ink-1);
    display: flex; align-items: center; gap: 8px; }
.section-block h3 .step-num { width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; }
.address-pick { display: flex; flex-direction: column; gap: 10px; }
.address-card { border: 2px solid var(--line); border-radius: 10px;
    padding: 14px 16px; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: flex-start; gap: 12px; }
.address-card:hover { border-color: var(--brand-light); }
.address-card.selected { border-color: var(--brand); background: var(--brand-soft); }
.address-card .consignee { font-weight: 600; color: var(--ink-1); }
.address-card .phone { color: var(--ink-4); font-size: 13px; margin-left: 8px; }
.address-card .addr-text { font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }
.address-card .default-tag { display: inline-block; padding: 1px 8px;
    background: var(--brand); color: #fff; font-size: 10px; border-radius: 4px; margin-right: 6px; }
.address-card .actions { margin-left: auto; display: flex; gap: 8px; }
.address-card .actions button { border: none; background: transparent;
    color: var(--ink-5); cursor: pointer; font-size: 12px;
    padding: 4px 8px; border-radius: 4px; transition: all 0.2s; }
.address-card .actions button:hover { background: var(--bg-soft); color: var(--brand); }
.summary-card { background: #fff; border-radius: 12px; padding: 22px;
    position: sticky; top: 140px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--ink-3); }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 8px;
    padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-1); }
.summary-row.total .amount { color: var(--brand); font-size: 22px; font-weight: 800; }
.pay-method { background: var(--brand-soft); border-radius: 10px;
    padding: 12px 14px; display: flex; align-items: center; gap: 10px;
    margin: 12px 0; color: var(--ink-3); font-size: 14px; border: 1px solid var(--brand-border); }
.pay-method i { color: var(--success); font-size: 18px; }

/* ===================  Order  =================== */
.order-card { background: #fff; border-radius: 12px; padding: 20px 22px;
    margin-bottom: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.order-card .head { display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--ink-4); }
.order-card .status-tag { padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.status-tag.unpaid { background: #fef3c7; color: #b45309; }
.status-tag.shipping { background: #dbeafe; color: #1d4ed8; }
.status-tag.completed { background: #d1fae5; color: #047857; }
.status-tag.cancelled { background: #fee2e2; color: #b91c1c; }
.order-card .body { padding: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.order-card .body .row { display: flex; gap: 12px; align-items: center; }
.order-card .body img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; background: var(--bg-soft); }
.order-card .body .ph-small { width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--ink-5); border-radius: 6px; font-size: 22px; }
.order-card .body .name { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.order-card .body .sku { font-size: 12px; color: var(--ink-5); margin-top: 2px; }
.order-card .body .right { margin-left: auto; text-align: right; }
.order-card .body .right .p { color: var(--ink-2); font-weight: 600; }
.order-card .body .right .n { font-size: 12px; color: var(--ink-5); }
.order-card .foot { display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px; border-top: 1px dashed var(--line); }
.order-card .foot .total-line { font-size: 13px; color: var(--ink-4); }
.order-card .foot .total-line .amount { font-size: 18px; font-weight: 700; color: var(--brand); margin-left: 6px; }
.tabs { display: flex; gap: 4px; margin-bottom: 18px;
    background: #fff; padding: 6px; border-radius: 10px;
    width: fit-content; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.tabs a { padding: 8px 18px; border-radius: 6px; font-size: 13px;
    color: var(--ink-4); font-weight: 500; transition: all 0.2s; }
.tabs a:hover { color: var(--brand); }
.tabs a.active { background: var(--brand); color: #fff; }
/* ===================  Forms / Modal / Toast  =================== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 11px 14px; background: var(--bg-soft);
    border: 1px solid var(--line); border-radius: 8px;
    font-size: 14px; color: var(--ink-2); transition: all 0.2s; outline: none; font-family: inherit; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 12px; color: var(--ink-5); margin-top: 4px; }
.form-error { color: var(--danger); font-size: 12px; margin-top: 4px; min-height: 16px; }

.modal-mask { position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal-mask.show { display: flex; animation: fadeIn 0.2s; }
.modal-body { background: #fff; border-radius: 14px; padding: 28px;
    width: 92%; max-width: 480px; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.4);
    animation: fadeInUp 0.25s; color: var(--ink-2); max-height: 90vh; overflow-y: auto; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-body h3 { margin: 0 0 18px; font-size: 18px; font-weight: 700; color: var(--ink-1); }
.modal-close { float: right; cursor: pointer; color: var(--ink-5);
    font-size: 24px; line-height: 1; transition: color 0.2s; }
.modal-close:hover { color: var(--ink-2); }

.toast { position: fixed; top: 24px; left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--ink-1); color: #fff;
    padding: 11px 22px; border-radius: 8px; z-index: 2000;
    font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

.success-wrap { text-align: center; padding: 36px 20px; }
.success-wrap .icon { width: 80px; height: 80px; border-radius: 50%;
    background: var(--success); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 44px; margin-bottom: 18px;
    box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.5);
    animation: popIn 0.4s cubic-bezier(.2,.8,.2,1); }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.success-wrap h2 { font-size: 24px; margin: 0 0 8px; color: var(--ink-1); font-weight: 700; }
.success-wrap p { color: var(--ink-4); margin: 0 0 22px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 13px; border-radius: 6px;
    background: #fff; color: var(--ink-3); font-size: 13px;
    border: 1px solid var(--line); transition: all 0.2s; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .disabled { color: var(--ink-5); background: var(--bg-soft); cursor: not-allowed; }

/* ===================  Join (商家入驻)  =================== */
.join-hero { position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 50%, #00b4d8 100%);
    border-radius: 0; padding: 80px 48px; margin: 0 0 32px;
    color: #fff; text-align: center;
    width: 100vw; margin-left: calc(-50vw + 50%); }
.join-hero::before { content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 153, 0, 0.3), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 180, 216, 0.4), transparent 50%);
    pointer-events: none; }
.join-hero > * { position: relative; z-index: 1; }
.join-hero h1 { font-size: 44px; font-weight: 800; margin: 0 0 16px; color: #fff; }
.join-hero h1 .accent { color: var(--brand); }
.join-hero p { font-size: 17px; color: rgba(255, 255, 255, 0.85); margin: 0 auto 32px; max-width: 640px; line-height: 1.7; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.benefit-card { background: #fff; border-radius: 14px; padding: 28px 24px;
    text-align: center; transition: all 0.3s;
    box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.benefit-card:hover { transform: translateY(-6px);
    box-shadow: var(--shadow-xl); border-color: var(--brand-border); }
.benefit-card .b-icon { width: 60px; height: 60px; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 8px 20px -6px rgba(255, 153, 0, 0.5); }
.benefit-card h4 { margin: 0 0 8px; font-size: 17px; color: var(--ink-1); font-weight: 700; }
.benefit-card p { margin: 0; color: var(--ink-4); font-size: 13px; line-height: 1.6; }

.upload-box { border: 2px dashed var(--line); border-radius: 10px;
    padding: 24px; text-align: center; cursor: pointer;
    transition: all 0.2s; background: var(--bg-soft); }
.upload-box:hover { border-color: var(--brand); background: var(--brand-soft); }
.upload-box i { font-size: 32px; color: var(--ink-5); margin-bottom: 8px; }
.upload-box .t { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.upload-box .s { font-size: 11px; color: var(--ink-5); margin-top: 4px; }
.upload-preview { margin-top: 10px; position: relative;
    border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.upload-preview img { width: 100%; max-height: 200px; object-fit: contain; background: var(--bg-soft); }
.upload-preview .remove { position: absolute; top: 8px; right: 8px;
    background: rgba(15, 23, 42, 0.7); color: #fff;
    border: none; cursor: pointer;
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 14px; }
/* ===================  Footer  =================== */
.site-footer { background: var(--ink-1); color: rgba(255, 255, 255, 0.7); padding: 48px 0 0; margin-top: 60px; }
.footer-promise { background: rgba(255, 255, 255, 0.04); padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-promise-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise-item { display: flex; align-items: center; gap: 12px;
    color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.promise-item i { font-size: 26px; color: var(--brand); }
.footer-main { max-width: 1280px; margin: 0 auto; padding: 40px 32px 30px;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.footer-col a { display: block; padding: 5px 0;
    color: rgba(255, 255, 255, 0.6); font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px;
    color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.footer-brand .footer-logo .logo-mark { width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.7;
    color: rgba(255, 255, 255, 0.55); margin: 0 0 14px; }
.footer-contact .item { font-size: 13px; color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .item i { color: var(--brand); margin-top: 3px; }
.footer-contact .hotline { font-size: 22px; font-weight: 700; color: var(--brand); margin: 4px 0; }
.footer-qrcodes { display: flex; gap: 14px; margin-top: 10px; }
.footer-qrcodes .qr { text-align: center; font-size: 11px; color: rgba(255,255,255,0.6); }
.footer-qrcodes .qr-img { width: 76px; height: 76px; background: #fff; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-1); font-size: 11px; margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 32px; text-align: center;
    font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.footer-bottom a { color: rgba(255, 255, 255, 0.55); margin: 0 6px; }
.footer-bottom a:hover { color: var(--brand); }

/* ===================  Responsive  =================== */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand, .footer-contact { grid-column: span 3; }
    .hero-banner { grid-template-columns: 1fr; padding: 36px 32px; }
    .hero-banner h1 { font-size: 30px; }
    .hero-art { display: none; }
    .checkout-wrap { grid-template-columns: 1fr; }
    .detail-wrap { grid-template-columns: 1fr; gap: 24px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .service-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-top { grid-template-columns: auto 1fr; padding: 12px 16px; gap: 12px; }
    .header-search { display: none; }
    .header-nav-inner { padding: 0 12px; height: 56px; overflow-x: auto; }
    .header-nav-inner .nav-item { flex: 0 0 auto; padding: 0 12px; font-size: 13px; gap: 4px; }
    .header-nav-inner .nav-item i { font-size: 16px; }
    .header-nav-inner .nav-item span { display: inline; }
    .header-nav-inner .nav-cta { padding: 0 14px; height: 34px; font-size: 13px; min-width: auto; }
    .nav-slider { display: none; }
    .shop-main { padding: 16px 16px 36px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .glass-card, .section-block { padding: 16px; border-radius: 10px; }
    .cart-item { grid-template-columns: auto 70px 1fr;
        grid-template-areas: "c img meta" ". . qty" ". . pd"; gap: 10px; }
    .cart-item > *:nth-child(1) { grid-area: c; }
    .cart-item > *:nth-child(2) { grid-area: img; }
    .cart-item > *:nth-child(3) { grid-area: meta; }
    .cart-item .qty-ctrl { grid-area: qty; justify-self: start; }
    .cart-item .price-col { grid-area: pd; text-align: left; }
    .cart-item .del-btn { grid-area: pd; justify-self: end; }
    .form-row { grid-template-columns: 1fr; }
    .hero-banner { padding: 28px 20px; border-radius: 14px; }
    .hero-banner h1 { font-size: 24px; }
    .footer-main { grid-template-columns: 1fr 1fr; padding: 28px 16px; }
    .footer-brand, .footer-contact { grid-column: span 2; }
    .footer-promise-inner { grid-template-columns: repeat(2, 1fr); }
    .join-hero { padding: 36px 20px; }
    .join-hero h1 { font-size: 26px; }
}
/* ===== 回到顶部按钮（带滚动进度环） ===== */
.back-to-top {
    position: fixed; right: 32px; bottom: 32px;
    width: 52px; height: 52px;
    border: none; cursor: pointer;
    background: linear-gradient(135deg, #FF9900 0%, #ff7a00 100%);
    color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 28px -6px rgba(255, 153, 0, 0.55);
    opacity: 0; visibility: hidden;
    transform: translateY(24px) scale(0.7);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.34, 1.56, .64, 1),
                box-shadow 0.3s ease;
    z-index: 99;
    overflow: visible;
}
.back-to-top.show {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
    animation: backToTopPulse 2.4s ease-in-out infinite;
}
@keyframes backToTopPulse {
    0%, 100% { box-shadow: 0 10px 28px -6px rgba(255, 153, 0, 0.55), 0 0 0 0 rgba(255, 153, 0, 0.5); }
    50%      { box-shadow: 0 10px 28px -6px rgba(255, 153, 0, 0.55), 0 0 0 12px rgba(255, 153, 0, 0); }
}
.back-to-top:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 16px 36px -6px rgba(255, 153, 0, 0.75);
    animation: none;
}
.back-to-top:active { transform: translateY(-1px) scale(1); }
.back-to-top i {
    font-size: 22px; font-weight: 700;
    transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
    z-index: 2; position: relative;
}
.back-to-top:hover i { transform: translateY(-3px) scale(1.1); }
/* SVG 滚动进度环 */
.back-to-top .progress-ring {
    position: absolute; top: -3px; left: -3px;
    transform: rotate(-90deg);
    pointer-events: none;
}
.back-to-top .progress-bg {
    fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 2;
}
.back-to-top .progress-bar {
    fill: none; stroke: #fff; stroke-width: 2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s linear;
}
@media (max-width: 640px) {
    .back-to-top { right: 18px; bottom: 18px; width: 46px; height: 46px; font-size: 20px; }
}

/* ===== 会员中心 - 商城风格 ===== */
.user-main { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.user-side { width: 240px; flex-shrink: 0; position: sticky; top: 96px; }
.user-content { flex: 1 1 0; min-width: 0; }
.user-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff; padding: 22px 18px; border-radius: 14px; text-align: center;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.3);
}
.user-card .u-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #FF9900, #ff7a00);
    color: #fff; font-size: 22px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 6px 14px -2px rgba(255, 153, 0, 0.5);
}
.user-card .u-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.user-card .u-meta { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.user-card .u-meta i { margin-right: 4px; }
.user-nav {
    background: #fff; border-radius: 14px; padding: 8px;
    border: 1px solid var(--line-soft);
    box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.06);
}
.user-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 10px;
    color: var(--ink-3); font-size: 14px; font-weight: 500;
    text-decoration: none; transition: all 0.2s;
    margin-bottom: 2px;
}
.user-nav-item i { font-size: 16px; color: var(--ink-4); transition: color 0.2s; }
.user-nav-item:hover { background: var(--bg-soft); color: var(--brand-dark); }
.user-nav-item:hover i { color: var(--brand); }
.user-nav-item.active {
    background: linear-gradient(135deg, #FF9900 0%, #ff7a00 100%);
    color: #fff; font-weight: 600;
    box-shadow: 0 6px 14px -4px rgba(255, 153, 0, 0.5);
}
.user-nav-item.active i { color: #fff; }
.user-nav hr { border: none; border-top: 1px solid var(--line-soft); margin: 8px 4px; }
.user-nav-danger:hover { background: #fef2f2 !important; color: #ef4444 !important; }
.user-nav-danger:hover i { color: #ef4444 !important; }

.user-content { min-width: 0; }
.user-welcome {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa; border-radius: 14px;
    padding: 24px; display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; gap: 18px;
}
.welcome-left { display: flex; align-items: center; gap: 16px; }
.welcome-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #FF9900, #ff7a00);
    color: #fff; font-size: 22px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px -4px rgba(255, 153, 0, 0.4);
}
.welcome-left h2 { margin: 0 0 4px; font-size: 20px; color: #92400e; }
.welcome-left p { margin: 0; font-size: 13px; color: #b45309; }

.user-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-bottom: 20px;
}
.u-stat-card {
    background: #fff; border: 1px solid var(--line-soft);
    border-radius: 12px; padding: 16px;
    display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
    transition: all 0.25s; position: relative;
    box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.06);
}
.u-stat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(15, 23, 42, 0.1); }
.stat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}
.stat-num { font-size: 22px; font-weight: 800; color: var(--ink-1); line-height: 1.1; }
.stat-lbl { font-size: 12px; color: var(--ink-4); margin-top: 4px; }
.stat-link {
    position: absolute; top: 10px; right: 12px;
    font-size: 11px; color: var(--brand); text-decoration: none;
}

.user-panel {
    background: #fff; border: 1px solid var(--line-soft);
    border-radius: 14px; padding: 24px;
    box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.06);
}
.panel-title {
    font-size: 17px; font-weight: 700; color: var(--ink-1);
    margin: 0 0 20px; display: flex; align-items: center; gap: 8px;
    padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.panel-title i { color: var(--brand); font-size: 20px; }

.info-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.info-item {
    background: var(--bg-soft); padding: 12px 14px;
    border-radius: 10px;
}
.info-lbl { font-size: 12px; color: var(--ink-4); margin-bottom: 4px; }
.info-val { font-size: 14px; color: var(--ink-1); font-weight: 600; }

/* 表单 */
.user-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.user-form .form-group { margin-bottom: 16px; }
.user-form label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--ink-2); margin-bottom: 6px;
}
.user-form label .req { color: #ef4444; }
.avatar-edit-wrap { display: flex; align-items: center; gap: 14px; }
.avatar-preview {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #FF9900, #ff7a00);
    color: #fff; font-size: 24px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.form-tip {
    background: #eff6ff; color: #1e40af;
    padding: 10px 14px; border-radius: 8px;
    font-size: 13px; margin: 10px 0 16px;
    border-left: 3px solid #3b82f6;
}
.form-tip i { margin-right: 6px; }

@media (max-width: 900px) {
    .user-main { flex-direction: column; }
    .user-side { width: 100%; position: static; }
    .user-stats { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: 1fr; }
    .user-form .form-row { grid-template-columns: 1fr; }
    .user-welcome { flex-direction: column; align-items: flex-start; }
}

/* ===== 登录/注册页面修复（统一品牌色 + 深蓝背景 + 图标定位） ===== */
:root {
    --el-color-primary: #FF9900;
    --el-color-primary-dark-2: #c2410c;
}
.auth-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #0369a1 75%, #00b4d8 100%);
    min-height: 100vh;
    overflow-x: hidden;
}
.auth-page .bg-icon {
    position: fixed;
    color: rgba(255, 255, 255, 0.06);
    animation: bgFloat 10s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}
@keyframes bgFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-25px) rotate(8deg); }
}

/* ===== 登录/注册 - 图标输入框修复 ===== */
.form-icon-wrap { position: relative; }
.form-icon-wrap .form-input.has-icon { padding-left: 42px; }
.form-icon-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--ink-4, #94a3b8);
    pointer-events: none;
    z-index: 2;
}
.form-icon-wrap .form-input.has-icon:focus + .input-icon,
.form-icon-wrap .form-input.has-icon:focus ~ .input-icon { color: var(--brand, #FF9900); }

/* ===== 商家入驻 - 期望经营平台多选 ===== */
.platform-picker { display: flex; flex-direction: column; gap: 16px; }
.platform-group {
    border: 1px solid var(--line-soft); border-radius: 10px;
    padding: 12px 14px 8px; margin: 0;
    background: var(--bg-soft);
}
.platform-group legend {
    font-size: 13px; font-weight: 700; color: var(--ink-2);
    padding: 0 8px;
}
.platform-group { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-chip {
    position: relative; cursor: pointer; user-select: none;
    display: inline-flex; align-items: center;
}
.platform-chip input[type=checkbox] {
    position: absolute; opacity: 0; pointer-events: none;
}
.platform-chip span {
    display: inline-block; padding: 6px 14px;
    background: #fff; color: var(--ink-3); font-size: 13px;
    border: 1px solid var(--line); border-radius: 100px;
    transition: all 0.2s;
}
.platform-chip:hover span {
    border-color: var(--brand-light); color: var(--brand-dark);
}
.platform-chip input:checked + span {
    background: linear-gradient(135deg, #FF9900, #ff7a00);
    color: #fff; border-color: var(--brand);
    box-shadow: 0 4px 10px -2px rgba(255, 153, 0, 0.4);
}
.platform-other { display: flex; gap: 10px; align-items: center; }
.platform-other .platform-chip { flex-shrink: 0; }

/* ===== 微信二维码（PC hover + 移动端浮动按钮 + 弹窗） ===== */
/* PC 端 hero 微信按钮 */
.hero-btn-wechat {
    background: rgba(7, 193, 96, 0.18);
    color: #fff;
    border: 2px solid rgba(7, 193, 96, 0.55);
    backdrop-filter: blur(6px);
}
.hero-btn-wechat:hover {
    background: #07c160; border-color: #07c160; color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -8px rgba(7, 193, 96, 0.6);
}
.hero-wechat { position: relative; display: inline-flex; }
/* PC hover 二维码浮卡 */
.hero-wechat-qr {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) scale(0.88);
    background: #fff; border-radius: 14px; padding: 12px;
    width: 180px; text-align: center;
    box-shadow: 0 18px 44px -10px rgba(0,0,0,0.32);
    opacity: 0; visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(.34,1.56,.64,1), visibility 0.28s;
    z-index: 100;
}
.hero-wechat-qr::before {
    content: ''; position: absolute; top: -8px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px; height: 16px; background: #fff;
}
.hero-wechat-qr img {
    width: 156px; height: 156px; border-radius: 8px; display: block; margin: 0 auto 8px;
}
.hero-wechat-qr p { margin: 0; font-size: 12px; color: #64748b; }
.hero-wechat:hover .hero-wechat-qr,
.hero-wechat:focus-within .hero-wechat-qr {
    opacity: 1; visibility: visible; transform: translateX(-50%) scale(1);
}

/* 移动端浮动按钮 */
.wechat-float {
    position: fixed; right: 32px; bottom: 96px;
    width: 52px; height: 52px; border: none; cursor: pointer;
    background: #07c160; color: #fff; font-size: 26px;
    display: none; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 20px -4px rgba(7, 193, 96, 0.55);
    z-index: 99;
    animation: wechatPulse 2.4s ease-in-out infinite;
}
@keyframes wechatPulse {
    0%,100% { box-shadow: 0 8px 20px -4px rgba(7,193,96,0.55), 0 0 0 0 rgba(7,193,96,0.45); }
    50%     { box-shadow: 0 8px 20px -4px rgba(7,193,96,0.55), 0 0 0 14px rgba(7,193,96,0); }
}
.wechat-float:active { transform: scale(0.92); }

/* 微信弹窗 */
.wechat-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center;
}
.wechat-modal.show { display: flex; }
.wechat-modal-mask {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.62); backdrop-filter: blur(4px);
    animation: fadeIn 0.25s;
}
.wechat-modal-body {
    position: relative;
    background: #fff; border-radius: 18px;
    padding: 28px 28px 22px; width: 280px;
    text-align: center;
    animation: modalPop 0.32s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalPop { from { opacity:0; transform: scale(0.85); } to { opacity:1; transform: scale(1); } }
.wechat-modal-close {
    position: absolute; top: 10px; right: 14px;
    font-size: 24px; color: #94a3b8;
    cursor: pointer; line-height: 1;
    transition: color 0.2s;
}
.wechat-modal-close:hover { color: #ef4444; }
.wechat-modal-body h3 { margin: 0 0 14px; font-size: 18px; color: #0f172a; }
.wechat-modal-body img {
    width: 220px; height: 220px; border-radius: 12px;
    display: block; margin: 0 auto 12px;
    border: 1px solid #e2e8f0;
}
.wechat-modal-body p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.7; }

/* 响应式：移动端切换显示方式 */
@media (max-width: 1024px) {
    .wechat-float { display: flex; }
    .hero-wechat { display: none; }
}
@media (max-width: 640px) {
    .wechat-float { right: 18px; bottom: 84px; width: 46px; height: 46px; font-size: 22px; }
    .wechat-modal-body { width: calc(100vw - 48px); max-width: 280px; }
    .wechat-modal-body img { width: 200px; height: 200px; }
}

/* ===== 首页改版样式 - 大气招商风 ===== */
.home-body { background: #f8fafc; }

/* ===== 滚动入场动画 ===== */
[data-animate] {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(.22,.61,.36,1),
                transform 0.85s cubic-bezier(.22,.61,.36,1),
                filter 0.85s ease-out;
    will-change: opacity, transform;
}
[data-animate="fade-up"]    { transform: translateY(48px); }
[data-animate="fade-down"]  { transform: translateY(-48px); }
[data-animate="fade-left"]  { transform: translateX(-56px); }
[data-animate="fade-right"] { transform: translateX(56px); }
[data-animate="zoom-in"]    { transform: scale(0.9); filter: blur(4px); }
[data-animate="tilt-in"]    { transform: translateY(40px) rotate(-2deg); }
[data-animate].in-view {
    opacity: 1; transform: none; filter: none;
}
/* 子元素依次入场 */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(.22,.61,.36,1);
}
[data-stagger].in-view > * { opacity: 1; transform: none; }
[data-stagger].in-view > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].in-view > *:nth-child(2) { transition-delay: 0.13s; }
[data-stagger].in-view > *:nth-child(3) { transition-delay: 0.21s; }
[data-stagger].in-view > *:nth-child(4) { transition-delay: 0.29s; }
[data-stagger].in-view > *:nth-child(5) { transition-delay: 0.37s; }
[data-stagger].in-view > *:nth-child(6) { transition-delay: 0.45s; }
[data-stagger].in-view > *:nth-child(7) { transition-delay: 0.53s; }
[data-stagger].in-view > *:nth-child(8) { transition-delay: 0.61s; }
@media (prefers-reduced-motion: reduce) {
    [data-animate], [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

.hero-fullscreen {
    position: relative;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #0369a1 75%, #00b4d8 100%);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: #fff; padding: 60px 32px;
}
.hero-fullscreen::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(255, 153, 0, 0.32), transparent 50%),
        radial-gradient(circle at 82% 72%, rgba(0, 180, 216, 0.42), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.18), transparent 60%);
    pointer-events: none;
}
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.hero-float-icon {
    position: absolute; color: rgba(255, 255, 255, 0.07);
    animation: floatBig 10s infinite ease-in-out;
}
@keyframes floatBig {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-25px) rotate(8deg); }
}
.hero-inner { position: relative; z-index: 1; max-width: 1100px; text-align: center; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 153, 0, 0.15);
    border: 1px solid rgba(255, 153, 0, 0.35);
    border-radius: 100px;
    color: #ffd591; font-size: 13px; font-weight: 600;
    margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero-fullscreen h1 {
    font-size: 60px; font-weight: 900; line-height: 1.1;
    margin: 0 0 22px; color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}
.hero-fullscreen h1 .accent {
    background: linear-gradient(135deg, #FF9900, #ffcc66);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 18px; color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 36px; max-width: 640px; line-height: 1.7;
}
.hero-cta-row {
    display: flex; justify-content: center; gap: 16px;
    margin-bottom: 56px; flex-wrap: wrap;
}
.hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 100px;
    font-size: 15px; font-weight: 700; transition: all 0.3s;
    cursor: pointer; text-decoration: none; border: none;
}
.hero-btn-primary {
    background: linear-gradient(135deg, #FF9900, #ff7a00);
    color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 153, 0, 0.6);
}
.hero-btn-primary:hover {
    transform: translateY(-3px); color: #fff;
    box-shadow: 0 18px 40px -10px rgba(255, 153, 0, 0.8);
}
.hero-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff; border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}
.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22); border-color: #fff;
    color: #fff; transform: translateY(-3px);
}
.hero-btn-lg { padding: 18px 42px; font-size: 17px; }
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 800px; margin: 0 auto;
}
.hero-stat .num { font-size: 40px; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat .num .suf { font-size: 22px; color: #FF9900; margin-left: 2px; }
.hero-stat .lbl { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
/* POD 特性短语（参考登录页风格：橙色大字 + 上方有图标占位） */
.hero-stat .feature-text {
    font-size: 22px;
    font-weight: 700;
    color: #FF9900;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(255, 153, 0, 0.35);
    letter-spacing: 0.5px;
}
.hero-stat .feature-text::before {
    content: '';
    display: block;
    width: 36px; height: 3px;
    background: linear-gradient(90deg, #FF9900, transparent);
    border-radius: 2px;
    margin: 0 auto 12px;
}
.hero-stat .feature-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    letter-spacing: 2px;
}
.hero-scroll-tip {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6); font-size: 12px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    z-index: 2; text-decoration: none; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.home-section { padding: 72px 0; position: relative;
    /* 性能：不在视口内的模块跳过 layout/paint，进入视口时才渲染 */
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px; }
/* 各模块占位高度（避免滚动条跳动） */
#services { contain-intrinsic-size: 1px 220px; }
.cat-direct-grid { contain-intrinsic-size: 1px 320px; }
.home-section-gray { contain-intrinsic-size: 1px 1200px; }
.recruit-section { contain-intrinsic-size: 1px 1500px; }
.brand-wall { contain-intrinsic-size: 1px 280px; }
/* 首屏 hero 强制立即渲染 */
.hero-fullscreen { content-visibility: visible; }
.home-section-gray { background: #fff; }
.home-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 40px; gap: 20px;
}
.section-title-lg {
    font-size: 32px; font-weight: 800; color: #0f172a;
    margin: 0 0 8px; display: flex; align-items: center; gap: 12px;
}
.section-title-lg .bar {
    display: inline-block; width: 6px; height: 30px;
    background: linear-gradient(180deg, #FF9900, #ff7a00);
    border-radius: 4px;
}
.section-sub { color: #64748b; font-size: 15px; margin: 0; }
.section-more {
    color: #FF9900; font-weight: 600; font-size: 14px;
    text-decoration: none; display: inline-flex;
    align-items: center; gap: 4px; transition: gap 0.2s;
}
.section-more:hover { gap: 10px; }

.service-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-bar-grid .service-item {
    background: #fff; padding: 28px 24px; border-radius: 16px;
    display: flex; gap: 16px; align-items: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 24px -10px rgba(15, 23, 42, 0.06);
    transition: all 0.3s;
}
.service-bar-grid .service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -15px rgba(255, 153, 0, 0.25);
    border-color: rgba(255, 153, 0, 0.3);
}
.service-bar-grid .service-item i {
    font-size: 36px; color: #FF9900; background: #fff7ed;
    width: 60px; height: 60px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}

.cat-direct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-direct-card {
    position: relative; padding: 28px 24px; border-radius: 16px;
    color: #fff; background: var(--cat-grad);
    text-decoration: none; display: flex; flex-direction: column;
    gap: 14px; min-height: 140px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.2);
}
.cat-direct-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 60%);
    pointer-events: none;
}
.cat-direct-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.3);
}
.cat-direct-card > i { font-size: 36px; color: rgba(255, 255, 255, 0.9); }
.cat-info { flex: 1; }
.cat-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.cat-desc { font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.cat-arrow {
    position: absolute; top: 22px; right: 20px;
    background: rgba(255, 255, 255, 0.25);
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.cat-direct-card:hover .cat-arrow { background: rgba(255, 255, 255, 0.5); }

.recruit-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff; overflow: hidden;
}
.recruit-bg-decor { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.recruit-bg-decor i { position: absolute; color: rgba(255, 153, 0, 0.08); }
.recruit-section .home-container { position: relative; z-index: 1; }
.recruit-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.recruit-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; background: rgba(255, 153, 0, 0.18);
    border: 1px solid rgba(255, 153, 0, 0.4);
    border-radius: 100px; color: #ffd591; font-size: 13px;
    font-weight: 600; margin-bottom: 22px;
}
.recruit-head h2 {
    font-size: 40px; font-weight: 800; color: #fff;
    margin: 0 0 16px; line-height: 1.2;
}
.recruit-head h2 .accent {
    background: linear-gradient(135deg, #FF9900, #ffcc66);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.recruit-head p { color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.7; margin: 0; }

.recruit-section .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 72px; }
.recruit-section .benefit-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px; padding: 36px 28px;
    text-align: center; transition: all 0.3s;
    backdrop-filter: blur(8px);
}
.recruit-section .benefit-card:hover {
    background: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.45);
    transform: translateY(-6px);
}
.recruit-section .benefit-card .b-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: linear-gradient(135deg, #FF9900, #ff7a00);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 34px; margin: 0 auto 20px;
    box-shadow: 0 12px 28px -8px rgba(255, 153, 0, 0.5);
}
.recruit-section .benefit-card h4 { font-size: 20px; color: #fff; margin: 0 0 10px; }
.recruit-section .benefit-card p { color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.7; margin: 0; }

.process-wrap { margin-bottom: 56px; }
.process-title { text-align: center; font-size: 28px; color: #fff; margin: 0 0 36px; display: inline-block; }
.process-title .bar {
    display: inline-block; width: 6px; height: 26px;
    background: linear-gradient(180deg, #FF9900, #ff7a00);
    border-radius: 4px; margin-right: 10px; vertical-align: middle;
}
.process-grid {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap;
}
.process-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px; padding: 28px 22px;
    width: 200px; text-align: center;
    position: relative; transition: all 0.3s;
}
.process-step:hover {
    background: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.4);
    transform: translateY(-4px);
}
.step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #FF9900, #ff7a00);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    box-shadow: 0 6px 14px -2px rgba(255, 153, 0, 0.5);
}
.step-icon { font-size: 38px; color: #FF9900; margin-bottom: 14px; }
.process-step h4 { color: #fff; font-size: 16px; margin: 0 0 6px; }
.process-step p { color: rgba(255, 255, 255, 0.65); font-size: 12px; margin: 0; line-height: 1.6; }
.process-arrow { color: rgba(255, 255, 255, 0.3); font-size: 24px; }

.recruit-cta {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.18), rgba(255, 122, 0, 0.12));
    border: 1px solid rgba(255, 153, 0, 0.35);
    border-radius: 20px; padding: 36px;
    backdrop-filter: blur(8px);
}
.recruit-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.recruit-cta-inner h3 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.recruit-cta-inner p { color: rgba(255, 255, 255, 0.75); margin: 0; }

.brand-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.brand-item {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 24px 12px; text-align: center;
    transition: all 0.3s; display: flex; flex-direction: column;
    align-items: center; gap: 10px;
}
.brand-item:hover {
    border-color: #FF9900; transform: translateY(-3px);
    box-shadow: 0 10px 20px -8px rgba(255, 153, 0, 0.2);
}
.brand-item i { font-size: 30px; color: #FF9900; }
.brand-item span { font-size: 13px; color: #475569; font-weight: 600; }

@media (max-width: 1024px) {
    .hero-fullscreen h1 { font-size: 44px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .cat-direct-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-wall { grid-template-columns: repeat(4, 1fr); }
    .process-grid { gap: 24px; }
    .process-arrow { display: none; }
    .service-bar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .hero-fullscreen { padding: 40px 18px; min-height: auto; }
    .hero-fullscreen h1 { font-size: 30px; }
    .hero-desc { font-size: 14px; }
    .hero-cta-row { flex-direction: column; }
    .hero-btn { width: 100%; justify-content: center; }
    .home-section { padding: 48px 0; }
    .section-title-lg { font-size: 24px; }
    .recruit-head h2 { font-size: 26px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .cat-direct-grid { grid-template-columns: 1fr; }
    .brand-wall { grid-template-columns: repeat(2, 1fr); }
    .service-bar-grid { grid-template-columns: 1fr; }
    .process-step { width: 100%; }
    .recruit-cta-inner { flex-direction: column; text-align: center; }
}