/**
 * 迅捷数字商城 - 统一设计规范 v2.0
 * 风格: 现代清新电商风
 * 主色: 橙红(#FF6B35) + 深蓝(#1A365D)
 * 设计理念: 轻量、现代、信任感
 */

/* ==================== CSS 变量 ==================== */
:root {
    /* 品牌色 */
    --brand-primary: #FF6B35;
    --brand-primary-light: #FF8F5A;
    --brand-primary-dark: #E55A25;
    --brand-secondary: #1A365D;
    --brand-accent: #FFB800;

    /* 功能色 */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    --color-info: #3B82F6;

    /* 文字色 */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --text-light: #D1D5DB;

    /* 背景色 */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --bg-mask: rgba(0, 0, 0, 0.5);

    /* 边框色 */
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;

    /* 增强阴影 - 更有层次感 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-brand: 0 8px 24px rgba(255, 107, 53, 0.25);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);

    /* 圆角 */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* 间距 */
    --spacing-page: 16px;
    --spacing-card: 16px;
    --spacing-section: 12px;

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-bounce: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 渐变 */
    --gradient-brand: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    --gradient-brand-horizontal: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    --gradient-green: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    --gradient-warm: linear-gradient(135deg, #FFF5F0 0%, #FFEBE3 100%);
}

/* ==================== 基础重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--brand-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

a:active {
    color: var(--brand-primary);
}

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

/* ==================== 导航栏 ==================== */
.mall-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.mall-header.scrolled {
    box-shadow: var(--shadow-md);
}

.mall-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--spacing-page);
    max-width: 100%;
    margin: 0 auto;
}

/* 导航栏大屏适配 - 小屏使用100%宽度，大屏限制最大宽度 */
@media (min-width: 576px) and (max-width: 767px) {
    .mall-nav { max-width: 100%; }
}
@media (min-width: 768px) {
    .mall-nav { max-width: 720px; }
}
@media (min-width: 992px) {
    .mall-nav { max-width: 960px; }
}
@media (min-width: 1200px) {
    .mall-nav { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .mall-nav { max-width: 1320px; }
}

.mall-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform var(--transition-bounce);
}

.mall-logo:active {
    transform: scale(0.96);
}

.mall-logo .logo-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
}

.mall-logo .logo-text {
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mall-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mall-nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mall-nav-links a:hover {
    color: var(--brand-primary);
    background: rgba(255, 107, 53, 0.08);
}

.mall-nav-links a.active {
    color: var(--bg-white);
    background: var(--gradient-brand);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* 导航栏移动端适配 - 小屏幕优化 */
@media (max-width: 575px) {
    .mall-nav {
        padding: 0 12px;
    }
    
    .mall-logo {
        font-size: 15px;
        gap: 6px;
    }
    
    .mall-logo .logo-icon {
        font-size: 20px;
    }
    
    /* 小屏幕隐藏 logo 文字 */
    .mall-logo .logo-text {
        display: none;
    }
    
    .mall-nav-links {
        gap: 4px;
    }
    
    .mall-nav-links a {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    /* 小屏幕隐藏导航文字，只显示图标 */
    .mall-nav-links a .nav-text {
        display: none;
    }
    
    .mall-nav-links a i {
        font-size: 18px;
    }
}

/* 中等屏幕（414px-575px）优化 */
@media (min-width: 414px) and (max-width: 575px) {
    .mall-logo .logo-text {
        display: inline;
        font-size: 14px;
    }
}

/* 防止文字挤压 */
.mall-nav-links a {
    white-space: nowrap;
}

/* ==================== 主容器 ==================== */
.mall-main {
    padding-top: 56px;
    min-height: 100vh;
    padding-bottom: 80px;
    background: var(--bg-white);
}

/*
 * 主流电商响应式断点标准
 * 参考: 淘宝、京东、天猫
 * xs: <576px (手机)
 * sm: ≥576px (大屏手机)
 * md: ≥768px (平板)
 * lg: ≥992px (小屏电脑)
 * xl: ≥1200px (桌面)
 * xxl: ≥1400px (大屏桌面)
 */

/* sm - 大屏手机 */
@media (min-width: 576px) {
    .mall-main { max-width: 540px; margin: 0 auto; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* md - 平板 */
@media (min-width: 768px) {
    .mall-main { max-width: 720px; }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* lg - 小屏电脑 */
@media (min-width: 992px) {
    .mall-main { max-width: 960px; }
    .category-grid { grid-template-columns: repeat(6, 1fr); }
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* xl - 桌面 */
@media (min-width: 1200px) {
    .mall-main { max-width: 1140px; }
    .category-grid { grid-template-columns: repeat(8, 1fr); }
    .product-grid { grid-template-columns: repeat(5, 1fr); }
}

/* xxl - 大屏桌面 */
@media (min-width: 1400px) {
    .mall-main { max-width: 1320px; }
    .product-grid { grid-template-columns: repeat(6, 1fr); }
}

.mall-container {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--spacing-page);
}

/* ==================== 搜索栏 ==================== */
.mall-search {
    padding: 12px var(--spacing-page);
    background: var(--bg-white);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    padding: 12px 18px;
    max-width: 600px;
    margin: 0 auto;
    transition: all var(--transition-base);
}

.search-box:focus-within {
    background: var(--bg-white);
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1), var(--shadow-md);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 12px;
    font-size: 16px;
    transition: color var(--transition-base);
}

.search-box:focus-within .search-icon {
    color: var(--brand-primary);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--gradient-brand);
    color: var(--bg-white);
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.search-btn:active {
    transform: translateY(0) scale(0.98);
    opacity: 0.9;
}

/* ==================== 轮播Banner ==================== */
.mall-banner {
    background: var(--bg-white);
    padding: var(--spacing-card);
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.banner-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .banner-img {
        height: 220px;
    }
}

.banner-item {
    display: none;
    position: relative;
}

.banner-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.banner-item .banner-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: transform 0.5s ease;
}

@media (min-width: 768px) {
    .banner-item .banner-img {
        height: 220px;
    }
}

.banner-item .banner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-xl);
}

.banner-item .banner-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-item .banner-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

.banner-content {
    padding: 28px 24px;
    color: var(--bg-white);
    text-align: center;
}

.banner-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.banner-content p {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 500;
}

.banner-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.banner-dots .dot:hover {
    background: var(--text-muted);
}

.banner-dots .dot.active {
    width: 24px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Banner渐变背景 */
.gradient-1 { background: linear-gradient(135deg, #FF6B35 0%, #FF8F5A 100%); }
.gradient-2 { background: linear-gradient(135deg, #1A365D 0%, #2D4A6F 100%); }
.gradient-3 { background: linear-gradient(135deg, #10B981 0%, #34D399 100%); }

/* ==================== 快捷入口 ==================== */
.mall-quick-entry {
    display: flex;
    justify-content: space-around;
    padding: 20px var(--spacing-page);
    background: var(--bg-white);
    margin-top: var(--spacing-section);
}

.entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px 16px;
    transition: all var(--transition-base);
    border-radius: var(--radius-lg);
}

.entry-item:hover {
    background: var(--gradient-warm);
}

.entry-item:active {
    transform: scale(0.95);
}

.entry-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFEDE4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
    color: var(--brand-primary);
}

.entry-icon i {
    font-size: 24px;
}

.entry-item:hover .entry-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25);
}

.entry-name {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==================== 分类区域 ==================== */
.mall-categories {
    background: var(--bg-white);
    padding: var(--spacing-card);
    margin-top: var(--spacing-section);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-more {
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.section-more:hover {
    color: var(--brand-primary);
    background: rgba(255, 107, 53, 0.08);
}

.section-more:active {
    transform: scale(0.96);
}

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

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.category-item:hover {
    background: var(--gradient-warm);
    border-color: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.category-item:active {
    transform: scale(0.96);
    background: rgba(255, 107, 53, 0.15);
}

.category-icon {
    font-size: 26px;
    margin-bottom: 8px;
    transition: transform var(--transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 26px;
    color: var(--brand-primary);
}

.category-item:hover .category-icon {
    transform: scale(1.15);
}

.category-name {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* ==================== 商品区域 ==================== */
.mall-products {
    background: var(--bg-white);
    padding: var(--spacing-card);
    margin-top: var(--spacing-section);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 107, 53, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    border-radius: var(--radius-lg);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 107, 53, 0.1);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:active {
    transform: translateY(-2px) scale(0.99);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-gray);
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-brand);
    color: var(--bg-white);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
    letter-spacing: 0.5px;
}

.product-info {
    padding: 14px;
}

.product-name {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

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

.product-sales {
    display: flex;
    align-items: center;
    gap: 2px;
}

.product-rating {
    color: var(--brand-accent);
    font-weight: 500;
}

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

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.5px;
}

.product-original-price {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

/* 加载更多 */
.load-more {
    padding: 20px 16px;
    text-align: center;
}

.btn-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-load-more:hover {
    background: var(--bg-white);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.btn-load-more:active {
    transform: scale(0.99);
    background: rgba(255, 107, 53, 0.05);
}

.load-icon {
    display: inline-block;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ==================== 信任标记 ==================== */
.mall-trust {
    background: var(--bg-white);
    padding: var(--spacing-card);
    margin-top: var(--spacing-section);
}

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

.trust-item {
    text-align: center;
    padding: 20px 16px;
    background: var(--gradient-warm);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 107, 53, 0.08);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 53, 0.15);
}

.trust-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.trust-icon i {
    font-size: 32px;
}

.trust-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.trust-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    opacity: 0.95;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--brand-secondary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(255, 107, 53, 0.05);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-xl);
}

/* ==================== 底部操作栏 ==================== */
.mall-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-page);
    z-index: 1000;
}

.mall-footer-bar .price-info {
    flex: 1;
}

.mall-footer-bar .total-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.mall-footer-bar .total-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.5px;
}

.mall-footer-bar .btn {
    min-width: 130px;
}

/* ==================== 客服悬浮按钮 ==================== */
.customer-service-float {
    position: fixed;
    right: 16px;
    bottom: 100px;
    width: 44px;
    height: 44px;
    background: var(--gradient-brand);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    color: var(--bg-white);
    font-size: 20px;
    transition: all var(--transition-base);
}

.customer-service-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.customer-service-float:active {
    transform: scale(1.05);
}

/* ==================== 页脚 ==================== */
.mall-footer {
    text-align: center;
    padding: 20px var(--spacing-page);
    color: var(--text-muted);
    font-size: 12px;
    background: var(--bg-white);
    margin-top: var(--spacing-section);
}

.mall-footer a {
    color: var(--text-muted);
}

/* ==================== 空状态 ==================== */
.empty-state {
    padding: 60px var(--spacing-page);
    text-align: center;
}

.empty-icon {
    font-size: 60px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.empty-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==================== 加载状态 ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== 响应式适配 ==================== */
@media (min-width: 375px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (min-width: 414px) {
    .product-grid {
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== 安全区域适配 ==================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mall-footer-bar {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .customer-service-float,
    .back-to-top {
        bottom: calc(48px + env(safe-area-inset-bottom));
    }
    .customer-service-float {
        bottom: calc(100px + env(safe-area-inset-bottom));
    }
}

/* ==================== 商品详情页样式 ==================== */
.product-detail {
    padding-bottom: 70px;
}

.detail-gallery {
    background: var(--bg-white);
    padding: var(--spacing-card);
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--bg-gray);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.thumb-item {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.thumb-item.active {
    background: var(--brand-primary);
    color: var(--bg-white);
}

.detail-info {
    background: var(--bg-white);
    padding: var(--spacing-card);
    margin-top: var(--spacing-section);
}

.detail-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.detail-price-section {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.detail-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--brand-primary);
}

.detail-original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-tag {
    background: var(--brand-primary);
    color: var(--bg-white);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.price-tips {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.price-tips span {
    margin-right: 16px;
}

.detail-specs {
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
}

.spec-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.spec-label {
    width: 60px;
    font-size: 14px;
    color: var(--text-secondary);
}

.spec-options {
    display: flex;
    gap: 8px;
}

.spec-option {
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.spec-option.active {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(255, 107, 53, 0.1);
}

.stock-info {
    margin-left: 12px;
    font-size: 12px;
    color: var(--color-success);
}

.detail-service {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 商品描述、评价、推荐 */
.detail-desc-section,
.detail-reviews,
.detail-related {
    background: var(--bg-white);
    padding: var(--spacing-card);
    margin-top: var(--spacing-section);
}

.desc-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.desc-images img {
    width: 100%;
    margin-top: 12px;
    border-radius: var(--radius-md);
}

/* 评价列表 */
.review-count {
    font-size: 12px;
    color: var(--text-muted);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.review-avatar {
    font-size: 24px;
}

.review-name {
    font-size: 14px;
    color: var(--text-primary);
}

.review-rating {
    font-size: 12px;
}

.review-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.review-time {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

/* 相关推荐 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.related-item:active {
    transform: scale(0.98);
}

.related-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.related-info {
    padding: 8px;
}

.related-name {
    font-size: 13px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-top: 4px;
}

/* 底部操作栏 */
.product-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px var(--spacing-page);
    display: flex;
    align-items: center;
    z-index: 100;
}

.action-left {
    display: flex;
    gap: 20px;
}

.action-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: var(--text-secondary);
    text-decoration: none;
}

.action-icon span:first-child {
    font-size: 20px;
    margin-bottom: 2px;
}

.action-right {
    flex: 1;
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

.btn-add-cart {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #FFB800 0%, #FFCA28 100%);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 184, 0, 0.5);
}

.btn-add-cart:active {
    transform: translateY(0) scale(0.98);
    opacity: 0.95;
}

.btn-buy-now {
    flex: 1;
    padding: 14px;
    background: var(--gradient-brand);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-buy-now:active {
    transform: translateY(0) scale(0.98);
    opacity: 0.95;
}

/* ==================== 购物车页面样式 ==================== */
.cart-list {
    background: var(--bg-white);
    padding: var(--spacing-card);
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.cart-checkbox {
    display: flex;
    align-items: center;
}

.cart-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: var(--bg-gray);
}

.cart-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-name {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
}

.cart-spec {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.cart-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-primary);
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-input {
    width: 40px;
    height: 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

/* ==================== 订单确认页样式 ==================== */
.order-section {
    background: var(--bg-white);
    padding: var(--spacing-card);
    margin-bottom: var(--spacing-section);
}

.order-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-gray);
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-size: 14px;
    color: var(--text-primary);
}

.order-item-spec {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.order-item-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.order-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
}

.order-item-qty {
    font-size: 12px;
    color: var(--text-muted);
}

/* 订单汇总 */
.order-summary {
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row.total {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.summary-row.total .summary-value {
    color: var(--brand-primary);
    font-size: 20px;
}

/* 支付方式选择 */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method.selected {
    border-color: var(--brand-primary);
    background: rgba(255, 107, 53, 0.05);
}

.payment-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.payment-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.payment-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method.selected .payment-check {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: var(--bg-white);
}

/* ==================== 购物车页面额外样式 ==================== */
.cart-container {
    padding: var(--spacing-page);
}

.cart-header {
    padding: 16px 0;
}

.cart-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-list {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-card);
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.item-select {
    display: flex;
    align-items: center;
}

.item-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-gray);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-primary);
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.item-quantity .qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.item-quantity .qty-btn:active {
    background: var(--bg-light);
}

.item-quantity .qty-value {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
}

.item-subtotal {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
}

.item-delete {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.item-delete:active {
    opacity: 1;
}

/* 购物车空状态 */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
}

.cart-empty .empty-icon {
    font-size: 60px;
    margin-bottom: 16px;
    display: block;
}

.cart-empty p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-go-shopping {
    display: inline-block;
    padding: 10px 24px;
    background: var(--brand-primary);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}

/* 购物车底部栏 */
.cart-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px var(--spacing-page);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.footer-left {
    display: flex;
    align-items: center;
}

.select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.total-price {
    font-size: 14px;
    color: var(--text-secondary);
}

.total-price .price {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-primary);
}

.btn-checkout {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #FF8F5A 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-checkout:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

.btn-checkout:not(:disabled):active {
    opacity: 0.9;
}

/* ==================== 订单确认页额外样式 ==================== */
.order-confirm-container {
    padding: var(--spacing-page);
    padding-bottom: 80px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.confirm-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-card);
    margin-bottom: var(--spacing-section);
}

.confirm-section .section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.delivery-info {
    padding: 8px 0;
}

.delivery-type {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.delivery-type .icon {
    font-size: 24px;
}

.delivery-type .text strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.delivery-type .text p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* 商品清单 */
.goods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.goods-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.goods-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-gray);
}

.goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods-info {
    flex: 1;
    min-width: 0;
}

.goods-name {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.goods-price-qty {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
}

.goods-qty {
    font-size: 12px;
    color: var(--text-muted);
}

.goods-subtotal {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
}

/* 金额明细 */
.amount-detail {
    padding: 8px 0;
}

.amount-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.amount-row .discount {
    color: var(--color-success);
}

.amount-row.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.amount-row.total .total-price {
    color: var(--brand-primary);
    font-size: 20px;
}

/* 支付方式选项 */
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:last-child {
    margin-bottom: 0;
}

.payment-option input {
    display: none;
}

.payment-option.active {
    border-color: var(--brand-primary);
    background: rgba(255, 107, 53, 0.05);
}

.payment-option .payment-icon {
    font-size: 24px;
}

.payment-option .payment-name {
    flex: 1;
    font-size: 15px;
    color: var(--text-primary);
}

.payment-option .payment-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 12px;
    transition: all 0.2s;
}

.payment-option.active .payment-check {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
}

/* 底部提交栏 */
.submit-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px var(--spacing-page);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.submit-left {
    font-size: 14px;
    color: var(--text-secondary);
}

.submit-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-primary);
}

.btn-submit {
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #FF8F5A 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-submit:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

.btn-submit:not(:disabled):active {
    opacity: 0.9;
}

/* ==================== 订单结果页样式 ==================== */
.order-result {
    text-align: center;
    padding: 40px var(--spacing-page);
}

.result-icon {
    font-size: 60px;
    margin-bottom: 16px;
    display: block;
}

.result-icon.success {
    color: var(--color-success);
}

.result-icon.fail {
    color: var(--color-danger);
}

.result-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.result-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
}

.btn-outline {
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    border-radius: 24px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:active {
    background: rgba(255, 107, 53, 0.05);
}

/* ==================== 认证页面通用样式 ==================== */
.auth-main {
    min-height: calc(100vh - 120px);
    padding: 40px 20px;
    background: linear-gradient(180deg, #FFF5F0 0%, #FFFFFF 30%);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon {
    font-size: 56px;
    margin-bottom: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.auth-form-container {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ==================== 用户中心样式 ==================== */
.user-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F5A 100%);
    border-radius: 16px;
    margin-bottom: 16px;
}

.user-avatar {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-emoji {
    font-size: 36px;
}

.user-info {
    flex: 1;
    color: #fff;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
}

.user-phone {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.member-benefits {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.benefit-item {
    flex: 1;
    text-align: center;
}

.benefit-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.benefit-label {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.benefit-divider {
    width: 1px;
    height: 32px;
    background: #f0f0f0;
}

.section-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.card-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.order-shortcuts {
    display: flex;
    padding: 16px 8px;
}

.shortcut-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    color: inherit;
}

.shortcut-icon {
    font-size: 24px;
}

.shortcut-text {
    font-size: 12px;
    color: #666;
}

.menu-list {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    color: inherit;
}

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

.menu-icon {
    font-size: 20px;
}

.menu-text {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.menu-arrow {
    color: #ccc;
    font-size: 18px;
}

/* ==================== 认证页面响应式 ==================== */
@media (min-width: 576px) {
    .auth-main {
        padding: 50px 24px;
    }

    .auth-form-container {
        max-width: 420px;
        padding: 28px;
    }

    .user-card {
        padding: 28px;
    }

    .section-card {
        border-radius: 14px;
    }
}

@media (min-width: 768px) {
    .auth-main {
        padding: 60px 32px;
    }

    .auth-form-container {
        max-width: 440px;
        padding: 32px;
    }

    .user-card {
        padding: 32px;
        gap: 20px;
    }

    .user-avatar {
        width: 72px;
        height: 72px;
    }

    .avatar-emoji {
        font-size: 40px;
    }

    .user-name {
        font-size: 22px;
    }

    .member-benefits {
        padding: 24px;
    }

    .benefit-value {
        font-size: 26px;
    }
}

@media (min-width: 992px) {
    .auth-main {
        padding: 80px 40px;
    }

    .auth-form-container {
        max-width: 480px;
        padding: 36px;
    }

    .logo-icon {
        font-size: 64px;
    }

    .logo-text {
        font-size: 28px;
    }
}

@media (min-width: 1200px) {
    .auth-main {
        padding: 100px 48px;
    }

    .auth-form-container {
        max-width: 500px;
        padding: 40px;
    }

    .user-card {
        padding: 36px;
    }

    .section-card {
        padding: 4px;
    }
}

@media (min-width: 1400px) {
    .auth-main {
        padding: 120px 56px;
    }

    .auth-form-container {
        max-width: 520px;
    }
}

/* ==================== Remix Icon 图标支持 ==================== */
.search-icon i,
.purchase-icon i,
.notification-icon i {
    font-size: inherit;
    line-height: 1;
}

.security-badge .badge-icon {
    font-size: 11px;
    color: var(--color-success);
    display: flex;
    align-items: center;
}

.security-badge .badge-icon i {
    font-size: 12px;
}
