/* ========================================
   私域商城 - 前端样式 (KONGDAN风格)
   现代化工业风设计，手机电脑自适应
   ======================================== */

/* CSS变量 */
:root {
    /* 主色调 - 深色工业风 */
    --primary: #1a1a2e;
    --primary-dark: #0f0f1a;
    --primary-light: #2d2d44;
    --accent: #e94560;
    --accent-hover: #d63852;
    --accent-light: #ff6b81;
    --gold: #c9a96e;
    --gold-light: #e0c78a;
    
    /* 功能色 */
    --success: #00b894;
    --success-light: #55efc4;
    --warning: #fdcb6e;
    --danger: #e94560;
    --info: #74b9ff;
    
    /* 中性色 */
    --dark: #1a1a2e;
    --dark-secondary: #16213e;
    --gray-dark: #2d3436;
    --gray: #636e72;
    --gray-light: #b2bec3;
    --light: #f8f9fa;
    --light-gray: #f1f2f6;
    --border: #e0e0e0;
    --white: #ffffff;
    
    /* 尺寸 */
    --shadow: 0 2px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --radius: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    
    --header-height: 72px;
    --max-width: 1280px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 15px;
    color: var(--dark);
    background: #fafafa;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ========== 顶部公告栏 ========== */
.top-bar {
    background: var(--primary-dark);
    color: var(--gray-light);
    font-size: 12px;
    padding: 8px 0;
    letter-spacing: 0.3px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar span { opacity: 0.85; }
.top-bar-right { display: flex; gap: 20px; align-items: center; }
.top-bar-right a { 
    color: var(--gray-light); 
    transition: var(--transition);
    font-size: 12px;
}
.top-bar-right a:hover { color: var(--accent); }

/* ========== 头部 ========== */
.header {
    background: var(--white);
    padding: 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    letter-spacing: -0.5px;
}
.logo i { 
    font-size: 26px; 
    color: var(--accent);
}

.search-box {
    flex: 1;
    max-width: 480px;
}
.search-box form {
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 50px;
    overflow: hidden;
    background: var(--light-gray);
    transition: var(--transition);
}
.search-box form:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26,26,46,0.06);
}
.search-box input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    background: transparent;
}
.search-box button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 22px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}
.search-box button:hover { background: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-gray);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.cart-btn:hover { background: #e8e8e8; color: var(--accent); }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(233,69,96,0.4);
}

/* ========== 导航栏 ========== */
.navbar {
    background: var(--primary);
    border-bottom: none;
}
.navbar .container { display: flex; align-items: center; }
.categories-menu { position: relative; }
.categories-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.categories-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: 999;
    overflow: hidden;
}
.categories-menu:hover .categories-dropdown { display: block; }
.categories-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
    font-size: 14px;
}
.categories-dropdown a:hover { background: var(--light); color: var(--accent); padding-left: 24px; }

.nav-links { display: flex; margin-left: 8px; }
.nav-links a {
    padding: 14px 22px;
    font-size: 14px;
    transition: var(--transition);
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    letter-spacing: 0.3px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--accent); background: rgba(233,69,96,0.1); }

/* ========== Banner ========== */
.banner { padding: 30px 0 20px; }
.banner-slider {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    height: 380px;
    box-shadow: var(--shadow-lg);
}
.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.banner-slide.active { opacity: 1; }
.banner-content { color: #fff; max-width: 420px; }
.banner-content h2 { 
    font-size: 42px; 
    margin-bottom: 12px; 
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}
.banner-content p { 
    font-size: 18px; 
    opacity: 0.9; 
    margin-bottom: 24px;
    font-weight: 300;
}
.banner-icon { 
    color: rgba(255,255,255,0.15); 
    transition: transform 0.5s ease;
}
.banner-slide.active .banner-icon { transform: scale(1); }
.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { 
    background: var(--primary); 
    width: 28px; 
    border-radius: 5px; 
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.3px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,26,46,0.3); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(233,69,96,0.3); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #00a381; transform: translateY(-2px); }
.btn-outline { 
    background: transparent; 
    border: 2px solid var(--border); 
    color: var(--dark); 
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 11px; }
.btn-block { width: 100%; }

/* ========== 分类区域 ========== */
.category-section { padding: 40px 0; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-card);
}
.category-card:hover { 
    transform: translateY(-6px); 
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.category-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    transition: var(--transition);
}
.category-card:hover .category-icon {
    background: var(--primary);
    color: #fff;
}

/* ========== 商品区块 ========== */
.product-section { padding: 50px 0; }
.product-section.bg-light { background: var(--white); }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}
.section-header h2 i { color: var(--accent); }
.section-header h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.more-link { 
    color: var(--gray); 
    font-size: 14px; 
    transition: var(--transition);
    font-weight: 500;
}
.more-link:hover { color: var(--accent); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ========== 商品卡片 ========== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    position: relative;
}
.product-card:hover { 
    transform: translateY(-6px); 
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.product-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light);
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-image-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    background: var(--light);
    font-size: 40px;
}
.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}
.tag-new { background: var(--info); }
.tag-hot { background: var(--accent); }
.product-info { padding: 16px; }
.product-name {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--dark);
    min-height: 42px;
    font-weight: 500;
}
.product-name:hover { color: var(--accent); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.current-price { font-size: 22px; font-weight: 800; color: var(--accent); letter-spacing: -0.5px; }
.market-price { font-size: 13px; color: var(--gray-light); text-decoration: line-through; }
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-light);
    font-size: 12px;
}
.btn-add-cart {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(26,26,46,0.2);
}
.btn-add-cart:hover { 
    background: var(--accent); 
    transform: scale(1.1);
}

/* ========== 特色服务 ========== */
.features { 
    padding: 50px 0; 
    background: var(--primary); 
    margin-top: 20px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.9);
}
.feature-item i {
    font-size: 36px;
    color: var(--accent);
}
.feature-item h4 { 
    font-size: 16px; 
    margin-bottom: 4px; 
    color: #fff;
    font-weight: 600;
}
.feature-item p { 
    font-size: 13px; 
    color: rgba(255,255,255,0.6); 
}

/* ========== 登录页分隔线 ========== */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 28px 0 20px;
    color: var(--gray-light);
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-divider span {
    padding: 0 16px;
}

/* ========== 手机号快速登录 (可折叠) ========== */
.sms-quick-login {
    margin-top: 4px;
}
.sms-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--light-gray);
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.sms-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f4ff;
}
.sms-toggle-btn.open {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f4ff;
    border-style: solid;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.sms-toggle-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.sms-panel {
    padding: 24px 20px 20px;
    border: 1px solid var(--primary);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    background: #fafbff;
}

/* 短信验证码输入行 */
.sms-code-row {
    display: flex;
    gap: 10px;
}
.sms-code-input {
    flex: 1;
}
.btn-sms-send {
    white-space: nowrap;
    font-size: 13px;
    padding: 12px 16px;
    min-width: 110px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}
.btn-sms-send:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--light);
}
.btn-sms-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-sms-send.counting {
    color: var(--gray);
    border-color: var(--gray-light);
}

.sms-login-hint {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 18px;
    padding: 10px 14px;
    background: #f0f7ff;
    border-radius: var(--radius);
    border: 1px solid #d0e3ff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sms-login-hint i {
    color: var(--info);
    font-size: 14px;
}

/* ========== 认证页面 ========== */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
}
.auth-container { width: 100%; max-width: 440px; }
.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.auth-header { text-align: center; margin-bottom: 36px; }
.auth-header i { color: var(--accent); margin-bottom: 20px; font-size: 36px; }
.auth-header h2 { 
    font-size: 28px; 
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.auth-header p { color: var(--gray); font-size: 15px; }
.auth-form .form-group { margin-bottom: 22px; }
.auth-footer { 
    text-align: center; 
    margin-top: 24px; 
    color: var(--gray); 
    font-size: 14px;
}
.auth-footer a { 
    color: var(--accent); 
    font-weight: 600;
    margin-left: 4px;
}
.auth-footer a:hover { text-decoration: underline; }

/* ========== 表单 ========== */
.form-group { margin-bottom: 18px; }
.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    font-size: 14px;
    color: var(--dark);
}
.required { color: var(--accent); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
    background: var(--white);
}
.form-control:focus { 
    border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(26,26,46,0.06);
}
textarea.form-control { resize: vertical; min-height: 100px; }
.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon i {
    position: absolute;
    left: 16px;
    color: var(--gray-light);
    font-size: 16px;
    z-index: 1;
}
.input-icon input { padding-left: 44px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-remember { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    font-size: 14px;
}
.form-remember label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.forgot-link { color: var(--gray); font-size: 13px; }
.forgot-link:hover { color: var(--accent); }

/* ========== Alert ========== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}
.alert-error { background: #fff0f0; color: #c0392b; border: 1px solid #ffd4d4; }
.alert-success { background: #f0fff4; color: #00b894; border: 1px solid #c6f6d5; }

/* ========== 面包屑 ========== */
.breadcrumb {
    padding: 20px 0;
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
}
.breadcrumb a { color: var(--gray); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 10px; color: var(--gray-light); }

/* ========== 商品详情 ========== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--light);
    box-shadow: var(--shadow-card);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius-lg);
    color: var(--gray-light);
}
.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.gallery-thumbs img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}
.gallery-thumbs img.active, .gallery-thumbs img:hover { 
    border-color: var(--accent); 
    opacity: 1;
}

.product-title { 
    font-size: 26px; 
    margin-bottom: 14px; 
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
}
.product-desc { color: var(--gray); margin-bottom: 24px; font-size: 15px; }

.price-box {
    background: linear-gradient(135deg, #fff5f5, #fff);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border: 1px solid #ffe0e0;
}
.price-main { display: flex; align-items: baseline; gap: 14px; }
.price-current { font-size: 36px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.price-market { font-size: 18px; color: var(--gray-light); text-decoration: line-through; }
.price-discount {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.product-meta-info {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius-lg);
}
.meta-label { font-size: 12px; color: var(--gray); display: block; text-transform: uppercase; letter-spacing: 0.5px; }
.meta-value { font-weight: 700; font-size: 15px; }

/* ========== 规格选择器 ========== */
.spec-selector { margin-bottom: 20px; padding: 18px 20px; background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%); border-radius: 12px; border: 1px solid #eef0f2; }
.spec-group { margin-bottom: 16px; }
.spec-group:last-child { margin-bottom: 0; }
.spec-label { display: block; font-size: 13px; font-weight: 700; color: #4a5568; margin-bottom: 10px; letter-spacing: 0.3px; text-transform: none; }
.spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-btn {
    position: relative;
    padding: 9px 20px;
    border: 1.5px solid #dce1e6;
    border-radius: 22px;
    background: var(--white);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #3a4553;
    font-family: var(--font);
    line-height: 1.4;
    outline: none;
}
.spec-btn:hover:not(.active):not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(236, 72, 153, 0.04);
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.08);
    transform: translateY(-1px);
}
.spec-btn.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, #e91e63 100%);
    color: var(--white);
    font-weight: 650;
    box-shadow: 0 3px 12px rgba(236, 72, 153, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-1px);
}
.spec-btn:disabled,
.spec-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #e2e6ea;
    background: #f7f8fa;
    color: #b0b8c4;
    text-decoration: line-through;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.quantity-label { font-weight: 600; margin-right: 8px; }
.qty-btn {
    width: 40px; height: 40px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 600;
    color: var(--dark);
}
.qty-btn:hover { border-color: var(--primary); color: var(--accent); background: var(--light); }
.quantity-selector input {
    width: 60px; height: 40px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}
.stock-info { font-size: 13px; color: var(--gray); margin-left: 12px; }

.product-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-favorite { min-width: 52px; }

/* ========== 商品详情Tab ========== */
.section-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}
.tab-btn {
    padding: 14px 32px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.product-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    line-height: 1.8;
}

/* ========== 购物车页 ========== */
.cart-page { 
    display: grid; 
    grid-template-columns: 1fr 380px; 
    gap: 30px; 
    margin-top: 20px; 
}
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto auto;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    transition: var(--transition);
}
.cart-item:hover { border-color: var(--border); }
.cart-item-image { width: 90px; height: 90px; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 15px; font-weight: 600; display: block; margin-bottom: 6px; }
.cart-item-name:hover { color: var(--accent); }
.cart-item-spec { font-size: 13px; color: var(--gray); }
.cart-item-price .price { font-weight: 700; color: var(--accent); font-size: 15px; }
.cart-item-price .market-price { font-size: 12px; color: var(--gray-light); text-decoration: line-through; display: block; }
.cart-item-quantity { display: flex; align-items: center; gap: 6px; }
.cart-item-quantity input {
    width: 54px; height: 34px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}
.cart-item-subtotal { font-weight: 800; color: var(--accent); font-size: 18px; }
.cart-item-remove {
    border: none;
    background: none;
    color: var(--gray-light);
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    transition: var(--transition);
}
.cart-item-remove:hover { color: var(--accent); }

.summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.summary-card h3 { 
    margin-bottom: 24px; 
    padding-bottom: 16px; 
    border-bottom: 2px solid var(--border);
    font-size: 18px;
    font-weight: 700;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
}
.summary-divider { border-top: 2px dashed var(--border); margin: 18px 0; }
.summary-total { font-size: 18px; font-weight: 800; }
.total-price { color: var(--accent); font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }

/* ========== 订单页 ========== */
.order-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.order-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    color: var(--gray);
}
.order-tabs .tab:hover { color: var(--primary); background: var(--light); }
.order-tabs .tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.order-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    transition: var(--transition);
}
.order-card:hover { border-color: var(--border); }
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--light);
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.order-meta { display: flex; gap: 24px; }
.order-no { color: var(--gray); font-weight: 500; }

.order-items { padding: 0 24px; }
.order-item {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-gray);
}
.order-item-image {
    width: 64px; height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light);
}
.order-item-image img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info a { font-size: 14px; font-weight: 500; }
.order-item-info a:hover { color: var(--accent); }
.order-item-info .spec { font-size: 12px; color: var(--gray); display: block; }
.order-item-price { color: var(--gray); font-size: 14px; }
.order-item-qty { color: var(--gray); font-size: 14px; }

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}
.order-total { font-size: 14px; }
.order-actions { display: flex; gap: 10px; }

/* ========== Badge ========== */
.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.badge-primary { background: #e8f0fe; color: var(--info); }
.badge-success { background: #e6fff6; color: var(--success); }
.badge-warning { background: #fff8e6; color: #e17055; }
.badge-danger { background: #ffe8ec; color: var(--accent); }
.badge-info { background: #e0f0ff; color: #2980b9; }
.badge-secondary { background: var(--light-gray); color: var(--gray); }
.badge-error { background: #ffe8ec; color: var(--accent); }
.badge-lg { padding: 8px 20px; font-size: 15px; }

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: var(--gray);
}
.empty-state i { margin-bottom: 24px; opacity: 0.2; color: var(--dark); }
.empty-state h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.empty-state p { margin-bottom: 28px; font-size: 15px; }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========== 页面标题 ========== */
.page-header {
    padding: 24px 0;
}
.page-header h1 { 
    font-size: 28px; 
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ========== 商品列表布局 ========== */
.products-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
}
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}
.sidebar-card h3 { 
    margin-bottom: 18px; 
    font-size: 16px; 
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
}
.category-list a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
}
.category-list a:hover { background: var(--light); color: var(--primary); }
.category-list a.active { 
    background: var(--primary); 
    color: #fff;
    font-weight: 600;
}

/* ========== 个人中心 ========== */
.member-page { max-width: 900px; margin: 0 auto; }
.member-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 30px;
}
.avatar-placeholder {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    border: 3px solid rgba(255,255,255,0.3);
}
.member-info { flex: 1; }
.member-info h2 { font-size: 22px; margin-bottom: 8px; font-weight: 700; }
.member-level { 
    display: inline-block;
    background: var(--accent);
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.member-stats { display: flex; gap: 36px; }
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 800; display: block; letter-spacing: -0.5px; }
.stat-label { font-size: 13px; opacity: 0.8; }

.member-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}
.member-section h3 { 
    margin-bottom: 20px; 
    font-size: 17px;
    font-weight: 700;
}
.order-entries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--light);
    transition: var(--transition);
    position: relative;
}
.entry-item:hover { background: #e8e8e8; transform: translateY(-2px); }
.entry-item i { font-size: 26px; color: var(--primary); }
.entry-item span { font-size: 13px; font-weight: 500; }
.entry-item .badge { position: absolute; top: 8px; right: 8px; }

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
    font-weight: 500;
}
.menu-item:hover { color: var(--accent); padding-left: 6px; }
.menu-item i:first-child { font-size: 18px; width: 24px; text-align: center; color: var(--primary); }
.menu-item span { flex: 1; }
.menu-item i:last-child { color: var(--gray-light); }

/* ========== 个人中心页面 ========== */
.mc-page { max-width: 560px; margin: 0 auto; padding-bottom: 40px; }

/* 用户卡片 */
.uc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d2d44 100%);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    color: #fff;
    margin-bottom: -20px;
    position: relative;
    z-index: 1;
}
.uc-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(233,69,96,0.3);
}
.uc-info { flex: 1; min-width: 0; }
.uc-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.uc-nickname { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}
.uc-badge.admin { background: var(--gold); color: var(--primary); }
.uc-meta { font-size: 12px; opacity: 0.6; }

/* 数据统计条 */
.uc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.uc-stat-item {
    text-align: center;
    padding: 18px 8px 14px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.uc-stat-item:hover { background: var(--light); }
.uc-stat-item strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.uc-stat-item span {
    font-size: 11px;
    color: var(--gray);
    margin-top: 2px;
}

/* 功能网格 */
.uc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.uc-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 6px 14px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    position: relative;
}
.uc-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: transparent;
    color: var(--accent);
}
.uc-icon-wrap {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}
.uc-icon-wrap.blue   { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.uc-icon-wrap.accent { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.uc-icon-wrap.green  { background: linear-gradient(135deg, #00b894, #55efc4); }
.uc-icon-wrap.gray   { background: linear-gradient(135deg, #636e72, #b2bec3); }
.uc-icon-wrap.purple { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.uc-grid-item span { font-size: 12px; font-weight: 500; }
.uc-dot {
    position: absolute;
    top: 10px; right: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--danger);
}
.uc-dot.red { background: var(--danger); animation: pulseDot 1.5s infinite; }
@keyframes pulseDot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}
.uc-badge-sm {
    position: absolute;
    top: 8px; right: 8px;
    min-width: 18px; height: 18px;
    line-height: 18px;
    font-size: 10px;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    border-radius: 9px;
    padding: 0 5px;
    text-align: center;
}

/* 分区块 */
.uc-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    padding: 24px 20px;
    margin-bottom: 16px;
}
.uc-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}
.uc-section-title i { color: var(--accent); font-size: 15px; }

/* 信息列表（只读） */
.uc-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.uc-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 14px;
}
.uc-info-list li:last-child { border-bottom: none; }
.uc-info-list label {
    color: var(--gray);
    font-size: 13px;
    flex-shrink: 0;
}
.uc-info-list span { text-align: right; word-break: break-all; }
.uc-price { color: var(--accent); font-weight: 600; }

/* 编辑表单 */
.uc-form { margin-top: 4px; }
.uc-field { margin-bottom: 16px; }
.uc-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    margin-bottom: 6px;
}
.uc-field label em { color: var(--accent); font-style: normal; }
.uc-field input[type="text"],
.uc-field input[type="tel"],
.uc-field input[type="email"],
.uc-field input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: var(--light);
}
.uc-field input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(233,69,96,0.08);
}
.uc-divider {
    text-align: center;
    position: relative;
    margin: 20px 0 16px;
}
.uc-divider::before {
    content: '';
    position: absolute;
    left: 0; top: 50%; right: 0;
    height: 1px;
    background: var(--border);
}
.uc-divider span {
    position: relative;
    background: var(--white);
    padding: 0 12px;
    font-size: 12px;
    color: var(--gray-light);
}
.uc-submit-btn {
    margin-top: 8px;
    height: 48px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .mc-page { padding-bottom: 30px; }
    .uc-card { padding: 22px 18px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
    .uc-avatar { width: 54px; height: 54px; font-size: 22px; }
    .uc-nickname { font-size: 17px; }
    .uc-stat-item { padding: 14px 4px 10px; }
    .uc-stat-item strong { font-size: 19px; }
    .uc-grid { gap: 8px; }
    .uc-grid-item { padding: 14px 4px 10px; }
    .uc-icon-wrap { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
    .uc-section { padding: 18px 14px; }
    .uc-field input { padding: 11px 12px; font-size: 14px; }
}
.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

/* ========== 404 ========== */
.error-page { 
    text-align: center; 
    padding: 120px 20px; 
}
.error-code { 
    font-size: 120px; 
    font-weight: 900; 
    color: var(--primary); 
    line-height: 1; 
    letter-spacing: -5px;
}
.error-page h2 { font-size: 28px; margin: 24px 0 12px; font-weight: 700; }
.error-page p { color: var(--gray); margin-bottom: 36px; font-size: 16px; }

/* ========== 底部 ========== */
.footer {
    background: var(--primary-dark);
    color: var(--gray-light);
    padding: 60px 0 0;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-col h3 { 
    color: #fff; 
    font-size: 16px; 
    margin-bottom: 20px; 
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* PC端隐藏折叠图标 */
.footer-col h3 .fa-chevron-down { display: none; }
.footer-col-body {
    /* PC端默认显示 */
}
.footer-col p, .footer-col a { 
    font-size: 13px; 
    line-height: 2.2; 
    display: block; 
    color: rgba(255,255,255,0.5); 
    transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact p { margin-bottom: 10px; }
.footer-contact i { margin-right: 10px; color: var(--accent); }
.footer-qrcode { text-align: center; }
.qrcode-placeholder {
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 1px solid rgba(255,255,255,0.1);
}
.qrcode-placeholder i { color: var(--success); }
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ========== 移动端底部导航 ========== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 2000;
    padding: 6px 0 env(safe-area-inset-bottom);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.06);
}
.mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    font-size: 11px;
    color: var(--gray);
    position: relative;
    transition: var(--transition);
}
.mobile-nav a.active, .mobile-nav a:hover { color: var(--accent); }
.mobile-nav a i { font-size: 22px; }
.mobile-cart-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(20px);
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(233,69,96,0.4);
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    animation: toastIn 0.3s ease;
    font-weight: 600;
}
@keyframes toastIn { 
    from { opacity:0; transform:translateX(-50%) translateY(-20px); } 
    to { opacity:1; transform:translateX(-50%) translateY(0); } 
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    
    .top-bar { display: none; }
    
    .header { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
    .header .container { gap: 12px; height: 60px; }
    .logo { font-size: 18px; }
    .logo i { font-size: 22px; }
    .header .search-box { display: none; }
    .header .cart-btn span { display: none; }
    .header .cart-btn { padding: 10px 14px; }
    
    .navbar .nav-links { display: none; }
    .categories-toggle { font-size: 13px; padding: 12px 16px; }
    
    .banner { padding: 16px 0; }
    .banner-slider { height: 200px; border-radius: var(--radius-lg); }
    .banner-slide { padding: 24px; }
    .banner-content h2 { font-size: 24px; }
    .banner-content p { font-size: 14px; margin-bottom: 16px; }
    .banner-icon { display: none; }
    
    .category-section { padding: 24px 0; }
    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-card { padding: 20px 12px; font-size: 12px; }
    .category-icon { width: 44px; height: 44px; font-size: 18px; }
    
    .product-section { padding: 30px 0; }
    .section-header h2 { font-size: 20px; }
    .section-header h2::after { width: 30px; height: 2px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card:hover { transform: translateY(-3px); }
    .product-name { font-size: 13px; min-height: 36px; }
    .current-price { font-size: 18px; }
    .btn-add-cart { width: 32px; height: 32px; font-size: 13px; }
    
    .features { padding: 30px 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .feature-item i { font-size: 28px; }
    .feature-item h4 { font-size: 14px; }
    
    .product-detail { grid-template-columns: 1fr; gap: 24px; }
    .price-current { font-size: 28px; }
    .product-title { font-size: 22px; }
    .product-meta-info { gap: 24px; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; justify-content: center; }
    .btn-favorite { width: 100% !important; }
    
    .cart-page { grid-template-columns: 1fr; }
    /* ===== 移动端购物车：两行卡片布局 ===== */
    .cart-item {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 36px 10px 14px; /* 右侧留空间给删除按钮 */
    }
    /* 第一行左侧：商品图片 */
    .cart-item > .cart-item-image {
        width: 76px; height: 76px; border-radius: var(--radius);
        flex-shrink: 0;
    }
    /* 第一行中间：商品信息（名称/规格/状态标签）*/
    .cart-item > .cart-item-info {
        flex: 1; min-width: 0;
        display: flex; flex-direction: column; gap: 2px;
    }
    .cart-item-info .cart-item-name { font-size: 14px; line-height: 1.3; word-break: break-all; }
    .cart-item-info .cart-item-spec { font-size: 12px; margin-top: 2px; }
    /* 删除按钮 - 绝对定位右上角 */
    .cart-item > .cart-item-remove {
        position: absolute; right: 8px; top: 10px;
        font-size: 16px; padding: 4px;
    }

    /* 第二行：价格 / 数量控件 / 小计 —— 三栏均分 */
    .cart-item > .cart-item-actions {
        display: flex !important;
        width: calc(100% - 88px); /* 减去图片宽+gap */
        margin-left: 88px; /* 与上方信息左对齐 */
        border-top: 1px dashed var(--border-light);
        padding-top: 10px;
        gap: 0;
    }
    .cart-item-actions > .cart-item-price {
        display: flex !important;
        flex: 0 0 auto;
        min-width: 80px;
        align-items: baseline; gap: 4px;
    }
    .cart-item-price .price { font-size: 15px; }
    .cart-item-price .market-price { display: inline !important; font-size: 11px; }

    .cart-item-actions > .cart-item-quantity {
        display: flex !important;
        flex: 1;
        justify-content: center; gap: 6px;
    }
    .cart-item-quantity input { width: 44px; height: 32px; font-size: 13px; }
    .cart-item-quantity .qty-btn { width: 32px; height: 32px; font-size: 16px; }

    .cart-item-actions > .cart-item-subtotal {
        display: block !important;
        flex: 0 0 auto;
        text-align: right;
        font-weight: 800; color: var(--accent); font-size: 16px;
        min-width: 70px;
    }
    
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { display: none; }
    
    .order-tabs { overflow-x: auto; }
    .order-tabs .tab { font-size: 12px; padding: 12px 10px; white-space: nowrap; }
    .order-item { grid-template-columns: 50px 1fr auto; }
    .order-item-price { display: none; }
    .order-footer { flex-direction: column; gap: 12px; }
    .order-actions { width: 100%; justify-content: flex-end; }
    
    .member-card { flex-direction: column; text-align: center; padding: 28px 20px; }
    .member-stats { justify-content: center; gap: 24px; }
    .order-entries { grid-template-columns: repeat(2, 1fr); }
    
    .footer { padding: 24px 0 0; margin-top: 30px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 20px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    /* 手机端手风琴样式 */
    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer-col:last-child { border-bottom: none; }
    .footer-col h3 {
        display: flex; justify-content: space-between; align-items: center;
        margin: 0; padding: 13px 16px;
        font-size: 14px; cursor: pointer; user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.2s;
    }
    .footer-col h3:active { background: rgba(255,255,255,0.04); }
    .footer-col h3 .fa-chevron-down {
        display: block;
        font-size: 11px; transition: transform 0.25s ease;
        color: rgba(255,255,255,0.35);
    }
    /* 默认折叠，第一列展开 */
    .footer-col-body {
        max-height: 0; overflow: hidden;
        transition: max-height 0.35s ease, padding 0.25s ease;
        padding: 0 16px;
    }
    .footer-col:first-child .footer-col-body {
        max-height: 500px; padding: 6px 16px 14px;
    }
    .footer-col.open .footer-col-body { max-height: 500px; padding: 6px 16px 14px; }
    .footer-col.open h3 .fa-chevron-down { transform: rotate(180deg); }

    .footer-col p, .footer-col a { 
        font-size: 12.5px; line-height: 2; 
        padding: 2px 0; color: rgba(255,255,255,0.4);
    }
    .footer-contact p { margin-bottom: 2px; }
    .footer-contact i { color: var(--accent-light); }
    .footer-qrcode { text-align: center; }
    .qrcode-placeholder { width: 80px; height: 80px; margin: 8px auto 6px; }
    
    .auth-card { padding: 32px 24px; }
    .auth-header h2 { font-size: 24px; }
    
    .mobile-nav { display: flex; }
    body { padding-bottom: 70px; }
    
    .page-header h1 { font-size: 22px; }
    
    .summary-card { position: static; }
    
    .breadcrumb { font-size: 12px; padding: 14px 0; }

    /* 结算页地址表单响应式 */
    .checkout-section { padding: 20px; }
    .address-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .address-form-header {
        flex-direction: column; gap: 10px; align-items: flex-start;
        margin-bottom: 18px; padding-bottom: 14px;
    }
    .btn-paste-addr { width: 100%; justify-content: center; }
    .address-form-actions { width: 100%; justify-content: center; flex-direction: row-reverse; }
}

/* ========== 物流信息 ========== */
.express-section { margin-top: 0; }
.express-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}
.express-header {
    display: flex;
    gap: 32px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.express-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.express-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}
.express-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.express-value code {
    background: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid var(--border);
    letter-spacing: 1px;
}
.btn-copy {
    border: none;
    background: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}
.btn-copy:hover {
    color: var(--primary);
    background: var(--white);
}

.express-state-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.express-query-time {
    font-size: 12px;
    color: var(--gray);
}

/* 物流轨迹时间线 */
.express-timeline {
    position: relative;
    padding-left: 28px;
}
.express-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    padding-bottom: 20px;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-light);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--border);
}
.timeline-latest .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light), 0 0 8px rgba(233,69,96,0.3);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 2px var(--accent-light), 0 0 8px rgba(233,69,96,0.3); }
    50% { box-shadow: 0 0 0 4px var(--accent-light), 0 0 14px rgba(233,69,96,0.5); }
}
.timeline-content {
    padding-bottom: 4px;
}
.timeline-text {
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.5;
}
.timeline-latest .timeline-text {
    color: var(--accent);
    font-weight: 600;
}
.timeline-time {
    font-size: 12px;
    color: var(--gray);
    margin-top: 2px;
}

.express-loading {
    text-align: center;
    padding: 40px;
    color: var(--gray);
    font-size: 15px;
}
.express-loading i {
    display: block;
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--primary);
}

/* ========== 订单详情页 ========== */
.order-detail-page { margin-bottom: 40px; }

/* 状态横幅 */
.od-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.od-status-header::before {
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 180px; height: 180px;
    border-radius: 50%;
    opacity: 0.08;
}
.od-status-warning { background: linear-gradient(135deg, #fff8e1, #fff3c4); border: 1px solid #ffe082; }
.od-status-warning::before { background: #f59e0b; }
.od-status-info { background: linear-gradient(135deg, #e3f2fd, #bbdefb); border: 1px solid #90caf9; }
.od-status-info::before { background: #2196f3; }
.od-status-primary { background: linear-gradient(135deg, #e8eaf6, #c5cae9); border: 1px solid #9fa8da; }
.od-status-primary::before { background: #5c6bc0; }
.od-status-success { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); border: 1px solid #a5d6a7; }
.od-status-success::before { background: #43a047; }
.od-status-secondary { background: var(--light-gray); border: 1px solid #ddd; }
.od-status-danger { background: linear-gradient(135deg, #fce4ec, #f8bbd0); border: 1px solid #f48fb1; }

.od-status-left { display: flex; align-items: center; gap: 18px; z-index: 1; }
.od-status-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.od-status-warning .od-status-icon { background: #f59e0b; color: #fff; }
.od-status-info .od-status-icon { background: #2196f3; color: #fff; }
.od-status-primary .od-status-icon { background: #5c6bc0; color: #fff; }
.od-status-success .od-status-icon { background: #43a047; color: #fff; }
.od-status-secondary .od-status-icon { background: #999; color: #fff; }
.od-status-danger .od-status-icon { background: var(--accent); color: #fff; }

.od-status-text h2 {
    font-size: 22px; font-weight: 800; margin: 0 0 4px 0; letter-spacing: -0.3px;
}
.od-status-text p {
    font-size: 13px; color: var(--gray); margin: 0;
}

/* 进度步骤 */
.od-progress-steps { display: flex; align-items: center; gap: 0; z-index: 1; }
.od-step {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    position: relative;
}
.od-step-dot {
    width: 28px; height: 28px; border-radius: 50%;
    background: #ddd; border: 2px solid transparent;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff;
    transition: all 0.3s;
}
.od-step.done .od-step-dot { background: var(--success); border-color: var(--success-light); }
.od-step.active .od-step-dot {
    background: var(--primary); border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(26,26,46,0.08), 0 2px 8px rgba(26,26,46,0.15);
}
.od-step-label { font-size: 12px; color: var(--gray-light); white-space: nowrap; font-weight: 500; }
.od-step.done .od-step-label, .od-step.active .od-step-label { color: var(--dark); font-weight: 600; }

.od-step-line {
    width: 50px; height: 3px;
    background: #e0e0e0; margin: 0 6px; margin-bottom: 20px;
    border-radius: 2px;
}
.od-step-line.done { background: var(--success); }

/* 主布局：两栏 */
.od-main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* 卡片通用 */
.od-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 20px;
}
.od-card:last-child { margin-bottom: 0; }
.od-card-header {
    display: flex; align-items: center; gap: 10px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--light-gray);
    background: var(--light);
}
.od-card-header h3 {
    margin: 0; font-size: 15px; font-weight: 700; color: var(--dark);
    display: flex; align-items: center; gap: 8px;
}
.od-card-header h3 i { color: var(--accent); font-size: 14px; }
.od-order-no {
    font-size: 12px; color: var(--gray); font-weight: 500;
    margin-left: auto; letter-spacing: 0.3px;
}
.od-order-time {
    font-size: 12px; color: var(--gray-light); margin-left: 12px;
}
.od-order-time i { margin-right: 3px; }

/* 商品列表 */
.od-items-list { padding: 4px 0; }
.od-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--light-gray);
    transition: background 0.2s;
}
.od-item:last-child { border-bottom: none; }
.od-item:hover { background: var(--light); }

.od-item-img {
    width: 80px; height: 80px;
    border-radius: var(--radius);
    overflow: hidden; flex-shrink: 0;
    background: var(--light-gray);
}
.od-item-img img { width: 100%; height: 100%; object-fit: cover; }
.od-item-img-placeholder {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--gray-light);
    background: var(--light-gray); border-radius: var(--radius);
}

.od-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.od-item-name {
    font-size: 14.5px; font-weight: 600; color: var(--dark);
    text-decoration: none; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.od-item-name:hover { color: var(--accent); }
.od-item-spec { font-size: 12.5px; color: var(--gray); }

.od-item-price-wrap {
    display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
    min-width: 70px; flex-shrink: 0;
}
.od-item-price { font-size: 14.5px; font-weight: 700; color: var(--dark); }
.od-item-qty { font-size: 13px; color: var(--gray); }
.od-item-subtotal {
    font-size: 15px; font-weight: 800; color: var(--accent);
    min-width: 80px; text-align: right; flex-shrink: 0;
}

/* 收货地址 */
.od-address { padding: 18px 22px; }
.od-address-person {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
    font-size: 15px; font-weight: 600; color: var(--dark);
}
.od-address-person i { color: var(--gray); font-size: 13px; }
.od-address-phone {
    font-size: 14px; font-weight: 400; color: var(--gray); margin-left: auto;
}
.od-address-phone i { margin-right: 3px; }
.od-address-detail {
    font-size: 14px; color: var(--gray-dark); line-height: 1.6; margin: 0;
    padding-left: 23px;
}
.od-address-detail i { color: var(--gray); margin-right: 5px; }

/* 物流信息 */
.od-express-info { padding: 18px 22px; }
.od-express-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0;
}
.od-express-row + .od-express-row { border-top: 1px dashed var(--border); }
.od-express-label { font-size: 13px; color: var(--gray); font-weight: 500; }
.od-express-value { font-size: 14.5px; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.btn-query-express {
    margin-top: 14px; width: 100%;
}

/* 金额汇总 */
.od-summary-body { padding: 18px 22px; }
.od-summary-row {
    display: flex; justify-content: space-between;
    font-size: 14.5px; padding: 8px 0;
    color: var(--gray-dark);
}
.od-summary-divider {
    border-top: 2px dashed var(--border);
    margin: 14px 0;
}
.od-summary-total-row {
    display: flex; justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    font-size: 16px; font-weight: 800;
}
.od-final-price {
    font-size: 28px; font-weight: 900; color: var(--accent);
    letter-spacing: -0.8px;
}
.od-pay-method {
    display: flex; justify-content: space-between;
    font-size: 13px; color: var(--gray);
    padding-top: 12px; margin-top: 8px;
    border-top: 1px dotted var(--border);
}
.od-pay-method-value { font-weight: 600; color: var(--dark); }
.od-pay-time {
    font-size: 12.5px; color: var(--success);
    margin-top: 10px; text-align: center; padding: 8px;
    background: rgba(0,184,148,0.06); border-radius: var(--radius);
}
.od-pay-time i { margin-right: 4px; }

/* 支付轮询提示条 */
.polling-bar {
    text-align: center; padding: 12px 16px;
    margin: 0 auto 12px; max-width: 560px;
    background: #fff8e1; border: 1px solid #ffe082;
    border-radius: var(--radius-lg); font-size: 13px;
    color: #f57f17; animation: fadeInDown 0.3s ease;
}
.polling-bar-success {
    background: #e8f5e9; border-color: #a5d6a7; color: #2e7d32;
}
.polling-bar-timeout {
    background: #fce4ec; border-color: #ef9a9a; color: #c62828;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 操作按钮区 */
.od-actions { display: flex; flex-direction: column; gap: 10px; }
.od-actions .btn-lg { padding: 14px 20px; font-size: 15px; }

.express-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.express-summary-item {
    font-size: 14px;
    color: var(--dark);
}
.express-summary-item code {
    background: var(--light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* 后台物流操作 */
.logistics-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.trace-btn {
    padding: 2px 6px;
    font-size: 13px;
    color: var(--primary);
    border: none;
    background: none;
    cursor: pointer;
}
.trace-btn:hover {
    color: var(--accent);
}

/* ============================================
   支付页面 (收银台)
   ============================================ */

/* ========== 结算/确认订单页 ========== */
.checkout-page { margin-top: 24px; }
.checkout-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    transition: var(--transition);
}
.checkout-section:hover { border-color: var(--border); }
.checkout-section h3 {
    font-size: 17px; font-weight: 700; margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
    color: var(--dark);
}
.checkout-section h3 i { color: var(--accent); }

/* 收货地址区域 */
.checkout-address-section { position: relative; overflow: hidden; }
.checkout-address-section .section-title {
    margin-bottom: 18px; padding-bottom: 14px;
    border-bottom: 2px dashed var(--border);
}
.address-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.address-card {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
    position: relative;
}
.address-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(26,26,46,0.06);
    transform: translateY(-1px);
}
.address-card input[type="radio"] {
    display: none;
}
.address-card.selected {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fff8f9, #fff);
}
.address-info { flex: 1; min-width: 0; }
.address-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.address-header strong {
    font-size: 15.5px;
    font-weight: 700;
}
.address-phone {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}
.address-detail {
    color: var(--gray-dark);
    font-size: 13.5px;
    line-height: 1.6;
    word-break: break-all;
}
.address-check-icon {
    font-size: 22px;
    color: transparent;
    transition: all 0.25s ease;
    align-self: center;
    margin-left: 12px;
    flex-shrink: 0;
}
.address-card.selected .address-check-icon {
    color: var(--accent);
}

/* 无地址提示 */
.no-address-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 16px;
}
.no-address-hint i {
    font-size: 20px;
    color: var(--info);
}

/* 地址操作栏 */
.address-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

/* 地址表单区域 */
.address-form-section {
    background: linear-gradient(135deg, #fafbff 0%, #f5f7fa 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(26,26,46,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
    animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.address-form-wrapper { padding: 4px; }
.address-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ecf2;
}
.address-form-header h3 {
    font-size: 17px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px;
    color: var(--primary);
    letter-spacing: -0.3px;
}
.address-form-header h3 i { color: var(--accent); font-size: 18px; }
.btn-paste-addr {
    display: inline-flex;
    align-items: center; gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #f0f4ff, #e8efff);
    border: 1.5px solid #c7d6fe;
    border-radius: 50px;
    color: #4361ee;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-paste-addr:hover {
    background: linear-gradient(135deg, #e0e8ff, #d5e2ff);
    border-color: #4361ee;
    box-shadow: 0 4px 14px rgba(67,94,238,0.15);
    transform: translateY(-1px);
}
.btn-paste-addr i { font-size: 14px; }

/* 粘贴识别结果 */
.paste-result {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    font-size: 13.5px;
    position: relative;
    line-height: 1.65;
    backdrop-filter: blur(8px);
}
.paste-result.paste-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfccb 100%);
    color: #166534;
    border: 1.5px solid #bbf7d0;
}
.paste-result i { color: #22c55e; margin-right: 6px; }
.parse-fields {
    margin-top: 10px;
    padding-left: 4px;
    color: #374151;
    font-size: 13px;
    line-height: 1.8;
}
.btn-close-result {
    position: absolute;
    top: 10px; right: 12px;
    border: none;
    background: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 6px;
    line-height: 1;
    transition: all 0.2s;
}
.btn-close-result:hover { color: var(--accent); background: rgba(233,69,96,0.08); }

/* 地址表单网格 */
.address-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    margin-bottom: 24px;
}
.form-field label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 650;
    color: #374151;
    margin-bottom: 9px;
    letter-spacing: 0.2px;
}
.form-field label i {
    font-size: 12.5px; 
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; 
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 6px;
    flex-shrink: 0;
}
.field-input-wrap {
    position: relative;
}
.field-input-wrap input,
.field-select-wrap select {
    width: 100%;
    padding: 13px 16px;
    border: 1.8px solid #dde2ea;
    border-radius: 11px;
    font-size: 14.5px;
    outline: none;
    background: var(--white);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--dark);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.field-input-wrap input:hover,
.field-select-wrap select:hover {
    border-color: #c0c8d4;
}
.field-input-wrap input:focus,
.field-select-wrap select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,26,46,0.07), 0 2px 8px rgba(26,26,46,0.06);
    background: #fff;
}
.field-input-wrap input::placeholder {
    color: #c4c9d4;
    font-size: 13.5px;
}
.field-select-wrap {
    position: relative;
}
.field-select-wrap::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9ca3af;
    font-size: 14px;
    transition: all 0.25s ease;
}
.field-select-wrap:focus-within::after {
    color: var(--primary);
    transform: translateY(-50%) rotate(180deg);
}
.field-select-wrap select option {
    color: var(--dark);
    padding: 9px 6px;
}
.field-select-wrap select:disabled {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    cursor: not-allowed;
    color: #9ca3af;
    border-color: #e5e7eb;
    opacity: 0.75;
}
.field-select-wrap select:disabled + .field-select-arrow { opacity: 0.4; }
.form-field-detail { grid-column: 1 / -1; } /* 详细地址占满一行 */

/* 表单操作按钮 */
.address-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 8px;
}

/* ========== 结算页商品列表 ========== */
.checkout-items { }
.checkout-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-gray);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-image {
    width: 80px; height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
}
.checkout-item-image img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.checkout-item-info .name {
    font-size: 14.5px; font-weight: 600; color: var(--dark);
    line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.checkout-item-info .spec { font-size: 12.5px; color: var(--gray); }
.checkout-item-price { font-size: 15px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.checkout-item-qty { color: var(--gray); font-size: 13.5px; white-space: nowrap; }
.checkout-item-subtotal { font-size: 15.5px; font-weight: 800; color: var(--dark); white-space: nowrap; }

/* 订单备注 */
#orderRemark {
    background: var(--light);
    border-color: transparent;
}
#orderRemark:focus { background: var(--white); border-color: var(--border); }

/* 价格汇总 */
.order-summary { padding-top: 8px; }

/* 提交操作 */
.checkout-actions {
    text-align: right; padding-top: 10px;
}
.checkout-actions .btn-danger {
    padding: 18px 48px;
    font-size: 17px;
    letter-spacing: 2px;
}

/* Toast error variant */
.toast-error { background: var(--accent); }

/* ========== 支付页面 (收银台)
   ============================================ */
.pay-page {
    max-width: 700px;
    margin: 0 auto;
}

.pay-summary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pay-order-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pay-order-no {
    font-size: 13px;
    opacity: 0.75;
}

.pay-order-amount {
    font-size: 15px;
}

.pay-order-amount .total-price {
    color: #ffd700;
    font-size: 32px;
    font-weight: 800;
    margin-left: 4px;
}

.pay-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.85;
    background: rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 50px;
}

.pay-countdown i {
    color: #ffd700;
}

/* 支付方式列表 */
.pay-methods {
    margin-bottom: 24px;
}

.pay-methods h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pay-method-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.pay-method-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(233,69,96,0.1);
}

.pay-method-card.selected {
    border-color: var(--accent);
    background: #fff5f7;
    box-shadow: 0 4px 16px rgba(233,69,96,0.12);
}

.pay-method-card input[type="radio"] {
    display: none;
}

.pay-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.pay-method-card .fa-alipay {
    color: #1677ff;
}

.pay-method-card .fa-weixin {
    color: #07c160;
}

.pay-method-card .fa-qrcode {
    color: var(--primary);
}

.pay-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pay-method-info strong {
    font-size: 15px;
    font-weight: 600;
}

.pay-method-info span {
    font-size: 12px;
    color: var(--gray);
}

.pay-method-check {
    color: var(--accent);
    font-size: 22px;
    opacity: 0;
    transition: opacity 0.2s;
}

.pay-method-card.selected .pay-method-check {
    opacity: 1;
}

/* 余额支付特殊样式 */
.pay-method-card.pay-method-balance {
    border-color: #f59e0b;
    background: #fffbeb;
}
.pay-method-card.pay-method-balance:hover {
    border-color: #d97706;
    box-shadow: 0 4px 16px rgba(245,158,11,0.12);
}
.pay-method-card.pay-method-balance.selected {
    border-color: #d97706;
    background: #fef3c7;
    box-shadow: 0 4px 16px rgba(245,158,11,0.15);
}
.pay-method-card.pay-method-balance .fa-wallet {
    color: #f59e0b;
}
.pay-balance-hint {
    font-size: 12px;
    color: #d97706;
    font-weight: 500;
}
.pay-balance-hint strong {
    color: #b45309;
}

/* 余额抵扣卡片 */
.balance-deduct-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.balance-deduct-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.balance-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #92400e;
}
.balance-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f59e0b;
    cursor: pointer;
}
.balance-info {
    font-size: 13px;
    color: #92400e;
}
.balance-info strong {
    color: #b45309;
}
.balance-deduct-body {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #fbbf24;
}
.balance-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.balance-input-row label {
    font-size: 13px;
    color: #92400e;
    white-space: nowrap;
    min-width: 70px;
}
.balance-input-wrap {
    position: relative;
    flex: 1;
    max-width: 160px;
}
.balance-input-wrap .balance-unit {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #92400e;
    font-weight: 600;
}
.balance-input-wrap input {
    padding-left: 28px !important;
    text-align: left;
    border-color: #fbbf24;
    font-weight: 600;
    font-size: 15px;
    color: #b45309;
}
.balance-input-wrap input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
.balance-summary {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.deduct-price {
    color: #059669;
}
.remain-price {
    color: #dc2626;
}

/* 支付操作按钮 */
.pay-actions {
    padding-top: 8px;
}

.pay-actions .btn-accent {
    background: var(--accent);
    color: #fff;
    font-size: 17px;
    padding: 16px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pay-actions .btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(233,69,96,0.35);
}

/* H5支付返回后的检查支付状态面板 */
.pay-checking {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}
.pay-checking-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}
.pay-checking h3 {
    font-size: 18px; font-weight: 700;
    margin-bottom: 8px; color: var(--dark);
}
.pay-checking-desc {
    font-size: 13px; color: var(--gray);
    margin-bottom: 20px;
}
.pay-checking-actions {
    display: flex; gap: 12px;
    justify-content: center;
}

/* 二维码弹窗 */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.qrcode-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.qrcode-modal .modal-header h3 {
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qrcode-modal .modal-header h3 i {
    color: #07c160;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--dark);
}

.qrcode-modal .modal-body {
    padding: 32px 24px;
    text-align: center;
}

.qrcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.qrcode-wrapper canvas {
    border: 4px solid var(--light-gray);
    border-radius: 12px;
    padding: 8px;
}

.qrcode-tip {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.qrcode-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}

.qrcode-status {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.qrcode-modal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

/* 支付成功页面 */
.pay-success {
    text-align: center;
    padding: 60px 20px;
}

.pay-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: #fff;
}

.pay-success h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pay-success p {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 15px;
}

.pay-success .order-no {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
}

.pay-success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* ========== 侧边客服弹窗 ========== */
.cs-float {
    position: fixed;
    right: 16px;
    bottom: 120px;
    z-index: 9999;
}
/* 漂浮按钮 */
.cs-float-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(99,102,241,0.35);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.cs-float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(99,102,241,0.5); }
.cs-float-btn:active { transform: scale(0.92); }
.cs-float.dragging .cs-float-btn { transform: scale(1.15); box-shadow: 0 8px 30px rgba(99,102,241,0.55); transition: none; }

/* 弹窗 */
.cs-popup {
    position: absolute;
    right: 0; bottom: 62px;
    width: 240px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 36px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    display: none;
    animation: csSlideIn 0.25s ease;
}
.cs-popup.show { display: block; }
@keyframes csSlideIn {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cs-popup-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 13px; font-weight: 600;
}
.cs-popup-top i { margin-right: 6px; }
.cs-popup-close {
    width: 22px; height: 22px; border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff; font-size: 16px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    padding: 0;
}
.cs-popup-close:hover { background: rgba(255,255,255,0.4); }
.cs-popup-body {
    padding: 16px;
    text-align: center;
}
.cs-qr-wrap {
    width: 150px; height: 150px;
    margin: 0 auto 12px;
    border-radius: 8px; overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}
.cs-qr-wrap img {
    width: 100%; height: 100%; object-fit: contain;
}
.cs-wechat-row {
    display: flex; align-items: center; gap: 8px;
    background: #f5f3ff;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 10px;
}
.cs-label { font-size: 12px; color: #6b7280; flex-shrink: 0; }
.cs-wxid {
    font-size: 13px; font-weight: 700;
    color: #4f46e5;
    flex: 1; text-align: left;
}
.cs-copy-btn {
    padding: 4px 12px;
    border: none; border-radius: 5px;
    background: #6366f1; color: #fff;
    font-size: 11px; font-weight: 600; cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.cs-copy-btn:hover { background: #4f46e5; }
.cs-copy-btn.copied { background: #10b981; }
.cs-hint {
    margin: 0; font-size: 11px; color: #9ca3af;
}

/* 手机适配 */
@media (max-width: 768px) {
    .cs-float {
        right: 10px; bottom: 90px;
    }
    .cs-float-btn {
        width: 44px; height: 44px; font-size: 18px;
    }
    .cs-popup {
        width: 220px;
        bottom: 56px;
    }
    .cs-qr-wrap {
        width: 130px; height: 130px;
    }
    .cs-wechat-row {
        padding: 6px 8px;
    }
}

/* ========== 首页公告弹窗 ========== */
.notice-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 5000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: noticeFadeIn 0.25s ease;
}
.notice-popup-card {
    background: #fff;
    border-radius: var(--radius-xl);
    width: 100%; max-width: 420px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: noticeSlideUp 0.3s ease;
}
@keyframes noticeFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes noticeSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.notice-popup-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}
.notice-popup-header h3 {
    font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 0;
}
.notice-popup-header h3 i { color: var(--gold); font-size: 15px; }
#noticeClose {
    width: 30px; height: 30px;
    border-radius: 50%; border: none;
    background: rgba(255,255,255,0.2);
    color: #fff; font-size: 20px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
#noticeClose:hover { background: rgba(255,255,255,0.4); }
.notice-popup-list {
    list-style: none; margin: 0; padding: 24px 22px 16px;
}
.notice-popup-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14.5px; color: var(--dark); line-height: 1.7;
    margin-bottom: 10px;
}
.notice-popup-list li:last-child { margin-bottom: 0; }
.notice-popup-list li::before {
    content: '';
    position: absolute; left: 0; top: 9px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
}
.notice-today-check {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-top: 1px solid var(--border);
    font-size: 13px; color: var(--gray); cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.notice-today-check input[type="checkbox"] {
    accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer;
}

@media (max-width: 480px) {
    .notice-popup-card { max-width: 340px; }
    .notice-popup-header { padding: 14px 16px; }
    .notice-popup-list { padding: 18px 16px 12px; }
    .notice-popup-list li { font-size: 13.5px; }
}

/* 支付页面响应式 */
@media (max-width: 768px) {
    .pay-summary {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pay-order-amount .total-price {
        font-size: 26px;
    }
    
    .pay-method-card {
        padding: 14px 16px;
    }
    
    .pay-method-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .pay-actions .btn-accent {
        font-size: 15px;
        padding: 14px;
    }
    
    .modal-card {
        width: 95%;
    }
    
    .pay-success-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-info { padding: 12px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .category-card { padding: 16px 8px; font-size: 11px; }
    .category-icon { width: 36px; height: 36px; font-size: 16px; }
    
    .banner-slider { height: 160px; }
    .banner-content h2 { font-size: 20px; }
    .banner-content p { font-size: 13px; }
    .banner-slide { padding: 16px; }
    .btn-white { padding: 8px 16px; font-size: 13px; }
    
    .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .feature-item { flex-direction: column; text-align: center; gap: 8px; }
    
    .product-actions { gap: 10px; }
    .btn-lg { padding: 14px 24px; font-size: 14px; }
    
    .order-tabs .tab { font-size: 11px; padding: 10px 8px; }
    .order-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 0; }
    
    .page-header h1 { font-size: 20px; }

    /* 订单详情响应式 */
    .od-status-header {
        flex-direction: column; gap: 20px;
        padding: 22px 18px; text-align: center;
    }
    .od-status-left { justify-content: center; }
    .od-progress-steps { justify-content: center; }
    .od-main-grid { grid-template-columns: 1fr; }
    .od-sidebar { order: -1; } /* 手机端金额区显示在上方 */

    .od-item {
        padding: 14px 16px; gap: 12px;
        flex-wrap: wrap;
    }
    .od-item-img { width: 64px; height: 64px; }
    .od-item-img-placeholder { width: 64px; height: 64px; font-size: 18px; }
    .od-item-info { min-width: calc(100% - 80px); }
    .od-item-price-wrap { min-width: auto; margin-left: auto; }
    .od-item-subtotal { min-width: auto; width: 100%; text-align: left; padding-top: 8px; border-top: 1px dotted var(--border); }

    .od-card-header { padding: 14px 16px; flex-wrap: wrap; gap: 6px; }
    .od-order-no { margin-left: 0; width: 100%; text-align: right; font-size: 11px; }
    .od-order-time { display: none; }
    .od-address, .od-express-info, .od-summary-body { padding: 14px 16px; }
    .od-final-price { font-size: 24px; }

    .od-step-dot { width: 24px; height: 24px; font-size: 10px; }
    .od-step-label { font-size: 11px; }
    .od-step-line { width: 32px; }
}

/* ========== 微信浏览器提示遮罩 ========== */
.wechat-tip-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: wechatTipFadeIn 0.3s ease;
}
@keyframes wechatTipFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.wechat-tip-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 28px 32px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: wechatTipSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
@keyframes wechatTipSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.wechat-tip-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 34px;
    color: #f59e0b;
}
.wechat-tip-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.wechat-tip-card > p {
    font-size: 14px;
    color: #636e72;
    margin: 0 0 4px;
    line-height: 1.6;
}
.wechat-tip-card > p strong {
    color: #1a1a2e;
    font-weight: 700;
}
.wechat-tip-steps {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
}
.tip-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #2d3436;
}
.tip-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wechat-tip-arrow {
    margin-top: 20px;
    font-size: 28px;
    color: var(--accent);
    animation: tipArrowBounce 1.5s ease-in-out infinite;
}
@keyframes tipArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
