/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1677ff;
    --primary-dark: #0958d9;
    --primary-light: #e6f4ff;
    --success: #52c41a;
    --warning: #faad14;
    --danger: #ff4d4f;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

img.logo-icon {
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

.nav a.active,
.nav a:hover {
    color: var(--primary);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-gray);
    border-radius: 20px;
    padding: 6px 14px;
    width: 200px;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.cart-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-gray);
    font-size: 18px;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    gap: 6px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===== Hero Banner ===== */
.hero {
    background: linear-gradient(135deg, #0c1a3a 0%, #1a3a6e 50%, #0d47a1 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 119, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(82, 196, 26, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #69b1ff, #91caff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-buttons .btn-primary {
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(22, 119, 255, 0.4);
}

.hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-card-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #69b1ff, #1677ff);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.hero-card-title h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.hero-card-title p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 24px;
    font-weight: 700;
    color: #69b1ff;
}

.hero-stat .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ===== Hero 轮播 ===== */
.hero-carousel {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
    animation: heroFadeIn 0.6s ease;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dots .dot.active {
    width: 24px;
    background: #69b1ff;
}

.hero-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all 0.3s;
}

.hero-service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(105, 177, 255, 0.5);
}

.hero-service-item .icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #69b1ff, #1677ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 768px) {
    .hero-dots {
        bottom: 12px;
    }
}

/* ===== 通用区块 ===== */
.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 产品展示 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    /* 600x600 正方形图片区域，全图展示不裁剪 */
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.product-tag.hot {
    background: var(--warning);
}

.product-tag.new {
    background: var(--success);
}

.product-info {
    padding: 16px;
}

.product-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-sales {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-sales .sales-num {
    color: #fa8c16;
    font-weight: 600;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--danger);
}

.product-price .unit {
    font-size: 12px;
    font-weight: 400;
}

.product-btn {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.product-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ===== 服务特色 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), #e6f4ff);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 关于我们 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.about-stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.about-stat .num {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.about-stat .label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about-visual {
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
}

.about-visual-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.about-visual-card:last-child {
    margin-bottom: 0;
    margin-left: 40px;
}

.about-visual-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-visual-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-contact p {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    margin-bottom: 6px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 16px 0;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumb-inner a:hover {
    color: var(--primary);
}

.breadcrumb-inner .current {
    color: var(--text-primary);
}

/* ===== 商品列表页 ===== */
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    padding: 30px 0;
}

.sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 84px;
}

.sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.category-list li {
    margin-bottom: 4px;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.category-list li a:hover,
.category-list li a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.category-list li a .count {
    font-size: 12px;
    color: var(--text-light);
}

.products-main .products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.products-toolbar .sort-options {
    display: flex;
    gap: 16px;
}

.products-toolbar .sort-options a {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.products-toolbar .sort-options a.active {
    background: var(--primary);
    color: white;
}

.products-toolbar .result-count {
    font-size: 13px;
    color: var(--text-secondary);
}

.products-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== 商品详情页 ===== */
.product-detail {
    padding: 30px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.product-gallery {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.product-main-image {
    /* 600x600 正方形图片区域，全图展示不裁剪 */
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-thumbs {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border);
}

.product-thumb {
    width: 70px;
    height: 70px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-thumb.active {
    border-color: var(--primary);
}

.product-info-detail h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.product-price-box {
    background: linear-gradient(135deg, #fff1f0, #fff2e8);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    color: var(--danger);
}

.price-current .symbol {
    font-size: 20px;
}

.price-original {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-discount {
    background: var(--danger);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.meta-item .label {
    color: var(--text-secondary);
}

.meta-item .value {
    color: var(--text-primary);
    font-weight: 500;
}

.product-specs {
    margin-bottom: 24px;
}

.spec-group {
    margin-bottom: 16px;
}

.spec-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-option {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
}

.spec-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.spec-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.quantity-row label {
    font-size: 14px;
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-gray);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    width: 60px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.product-actions {
    display: flex;
    gap: 16px;
}

.product-actions .btn {
    flex: 1;
    padding: 14px;
    font-size: 16px;
}

.btn-buy {
    background: linear-gradient(135deg, #ff7a45, #ff4d4f);
    color: white;
}

.btn-buy:hover {
    opacity: 0.9;
    color: white;
}

/* 商品详情标签页 */
.product-tabs {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-gray);
}

.tab-item {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--bg-white);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.detail-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-list-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.feature-list-item .icon {
    font-size: 24px;
    flex-shrink: 0;
}

.feature-list-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-list-item p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.spec-table th {
    background: var(--bg-gray);
    font-weight: 600;
    width: 160px;
    color: var(--text-secondary);
}

/* ===== 支付页 ===== */
.payment-page {
    padding: 30px 0 60px;
    background: var(--bg-gray);
    min-height: calc(100vh - 64px);
}

.payment-container {
    max-width: 900px;
    margin: 0 auto;
}

.payment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.step-item.active .step-num {
    background: var(--primary);
    color: white;
}

.step-item.done .step-num {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-item.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin: 0 16px;
}

.step-item.done + .step-line {
    background: var(--success);
}

.payment-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.payment-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-card-header h3 {
    font-size: 17px;
    font-weight: 600;
}

.order-no {
    font-size: 13px;
    color: var(--text-secondary);
}

.order-items {
    padding: 20px 24px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.order-item-info .spec {
    font-size: 12px;
    color: var(--text-secondary);
}

.order-item-price {
    text-align: right;
}

.order-item-price .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.order-item-price .qty {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.order-summary {
    padding: 20px 24px;
    background: var(--bg-gray);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row .label {
    color: var(--text-secondary);
}

.summary-row.total {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 16px;
    font-weight: 600;
}

.summary-row.total .value {
    color: var(--danger);
    font-size: 24px;
}

.payment-methods {
    padding: 20px 24px;
}

.payment-methods h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method:hover {
    border-color: var(--primary-light);
}

.payment-method.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 16px;
    flex-shrink: 0;
}

.payment-method-icon.alipay {
    background: #1677ff;
    color: white;
}

.payment-method-icon.wechat {
    background: #07c160;
    color: white;
}

.payment-method-icon.unionpay {
    background: #e60012;
    color: white;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.payment-method-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.payment-method .radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method.active .radio {
    border-color: var(--primary);
}

.payment-method.active .radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.payment-actions {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
}

.payment-actions .total-amount {
    font-size: 14px;
    color: var(--text-secondary);
}

.payment-actions .total-amount span {
    font-size: 28px;
    font-weight: 700;
    color: var(--danger);
}

.payment-actions .btn {
    padding: 14px 48px;
    font-size: 16px;
}

.payment-tips {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-inner,
    .about-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .products-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   高端化升级 v20260905：动效 / 光效 / 毛玻璃 / 流程区 / 技术栈
   ============================================================ */

/* ---- 平滑滚动 ---- */
html { scroll-behavior: smooth; }

/* ---- 1. 滚动渐入动画 ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- 2. 粘性导航：滚动后毛玻璃 + 阴影 ---- */
.header { transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.header.scrolled {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 28px rgba(13, 71, 161, .08);
}
.header.scrolled .nav a { color: var(--text-primary); }
.header.scrolled .logo-text { color: var(--text-primary); }

/* ---- 3. 回到顶部按钮 ---- */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 88px;
    z-index: 998;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #0d47a1));
    box-shadow: 0 10px 26px rgba(13, 71, 161, .35);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(13, 71, 161, .45); }

/* ---- 4. Hero 光斑呼吸动画 ---- */
.hero::before { animation: heroBlob1 13s ease-in-out infinite alternate; }
.hero::after { animation: heroBlob2 17s ease-in-out infinite alternate; }
@keyframes heroBlob1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-70px, 50px) scale(1.18); }
}
@keyframes heroBlob2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(60px, -40px) scale(1.25); }
}
/* 第二行渐变标题增加流光 */
.hero-content h1 span {
    background-size: 200% auto;
    animation: heroGradientShift 6s ease-in-out infinite;
}
@keyframes heroGradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
/* 统计数字渐变 */
.hero-stat .num,
.about-stat .num {
    background: linear-gradient(90deg, #69b1ff, #91caff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- 5. 分区标题渐变线段装饰 ---- */
.section-header h2::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), #69b1ff);
}

/* ---- 6. 卡片悬浮光效（跟随鼠标）+ hover 增强 ---- */
.feature-card, .product-card, .process-card, .tech-card { position: relative; }
.feature-card::before, .product-card::before, .process-card::before, .tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .35s ease;
    background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(22, 119, 255, .09), transparent 65%);
    pointer-events: none;
    z-index: 1;
}
.feature-card:hover::before, .product-card:hover::before,
.process-card:hover::before, .tech-card:hover::before { opacity: 1; }
.feature-card:hover, .product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(13, 71, 161, .15); }
/* 产品图片 hover 缩放 */
.product-card .product-image img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.product-card:hover .product-image img { transform: scale(1.07); }

/* ---- 7. 数字化服务流程区 ---- */
.process-section { background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.process-card {
    background: #fff;
    border-radius: 18px;
    padding: 34px 24px 30px;
    text-align: center;
    border: 1px solid #e9f0fb;
    box-shadow: 0 6px 24px rgba(13, 71, 161, .06);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(13, 71, 161, .14);
    border-color: rgba(22, 119, 255, .35);
}
.process-step {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #0d47a1));
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(13, 71, 161, .30);
}
.process-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--text-primary); }
.process-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }

/* ---- 8. 技术能力区 ---- */
.tech-section {
    background: linear-gradient(135deg, #0c1a3a 0%, #142b57 55%, #0d47a1 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.tech-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(22, 119, 255, .28) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroBlob1 16s ease-in-out infinite alternate;
}
.tech-section .section-header { position: relative; z-index: 1; }
.tech-section .section-header h2 { color: #fff; }
.tech-section .section-header h2::after { background: linear-gradient(90deg, #69b1ff, #91caff); }
.tech-section .section-header p { color: rgba(255, 255, 255, .72); }
.tech-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
}
.tech-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 14px;
    color: #d9e8ff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.tech-card:hover {
    background: rgba(22, 119, 255, .28);
    border-color: rgba(105, 177, 255, .55);
    transform: translateY(-3px);
    color: #fff;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .process-grid { grid-template-columns: 1fr; }
    .back-to-top { right: 16px; bottom: 96px; }
}

/* ============================================================
   高端化升级 v2：粒子网络 / 滚动进度条 / 3D倾斜 / 按钮流光 / 入场动画
   ============================================================ */

/* ---- Hero 粒子画布 ---- */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- 顶部滚动进度条 ---- */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 1001;
    background: linear-gradient(90deg, #1677ff, #69b1ff, #1677ff);
    box-shadow: 0 0 8px rgba(22, 119, 255, .5);
    transition: width .1s linear;
}

/* ---- 3D 倾斜卡片 ---- */
.tilt {
    transition: transform .25s ease, box-shadow .35s ease;
    will-change: transform;
}

/* ---- 主按钮流光 ---- */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.btn-primary:hover::after {
    left: 130%;
}

/* ---- Hero 内容入场动画（含轮播切换时） ---- */
.hero-slide.active .hero-content,
.hero-slide.active .hero-visual {
    animation: heroEnter .85s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-slide.active .hero-visual { animation-delay: .12s; }
@keyframes heroEnter {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

/* ---- 关于区视觉卡片 hover 增强 ---- */
.about-visual-card {
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.about-visual-card:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(13, 71, 161, .12);
    border-color: rgba(22, 119, 255, .4);
}

/* ---- hero 指示点层级（避免被粒子画布遮挡） ---- */
.hero-dots {
    position: relative;
    z-index: 2;
}

/* ============================================================
   交易感升级 v20260910：促销栏/热卖榜/保障/评价/FAQ/成交弹窗
   ============================================================ */

/* ---- 1. 顶部促销通知栏 ---- */
.promo-bar {
    background: linear-gradient(90deg, #0d47a1, #1677ff 50%, #0d47a1);
    color: #fff;
    font-size: 13.5px;
    position: relative;
    z-index: 1000;
}
.promo-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 40px 8px 0;
    text-align: center;
}
.promo-text b { color: #ffe58f; font-weight: 700; }
.promo-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: .8;
    padding: 2px 6px;
    font-size: 14px;
}
.promo-close:hover { opacity: 1; }

/* ---- 2. 热卖商品榜 ---- */
.hot-rank {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 18px;
}
.hot-loading { grid-column: 1 / -1; text-align: center; color: var(--text-secondary); padding: 30px; }
.hot-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e9f0fb;
    box-shadow: 0 6px 22px rgba(13, 71, 161, .06);
    transition: transform .35s ease, box-shadow .35s ease;
    cursor: pointer;
    position: relative;
}
.hot-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(13, 71, 161, .14); }
.hot-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-light), #f0f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hot-card-img img { width: 100%; height: 100%; object-fit: contain; }
.hot-rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #f5222d, #fa8c16);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(245, 34, 45, .3);
}
.hot-card.top1 .hot-rank-badge { background: linear-gradient(135deg, #f5222d, #ff4d4f); }
.hot-card.top2 .hot-rank-badge { background: linear-gradient(135deg, #fa8c16, #ffc53d); }
.hot-card.top3 .hot-rank-badge { background: linear-gradient(135deg, #13c2c2, #36cfc9); }
.hot-card-info { padding: 14px 16px 16px; }
.hot-card-info h3 { font-size: 15px; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-card-info .hot-sales { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 10px; }
.hot-card-info .hot-sales b { color: #fa8c16; }
.hot-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.hot-price { font-size: 19px; font-weight: 700; color: #f5222d; }
.hot-price .unit { font-size: 12px; color: var(--text-secondary); font-weight: 400; }
.hot-buy {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #0d47a1));
    color: #fff;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.hot-buy:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(13, 71, 161, .3); }

/* ---- 3. 交易保障区 ---- */
.guarantee-section { background: #fff; }
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f6f9ff, #eef4ff);
    border: 1px solid #e4edfb;
    border-radius: 14px;
    padding: 18px 16px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.guarantee-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13, 71, 161, .1); }
.g-icon { font-size: 26px; }
.guarantee-item h4 { font-size: 15px; margin-bottom: 3px; color: var(--text-primary); }
.guarantee-item p { font-size: 12.5px; color: var(--text-secondary); }

/* ---- 4. 客户评价区 ---- */
.review-summary {
    text-align: center;
    margin-bottom: 30px;
}
.review-score { font-size: 40px; font-weight: 800; color: #fa8c16; line-height: 1; }
.review-score span { font-size: 16px; color: var(--text-secondary); font-weight: 400; }
.review-stars { color: #faad14; font-size: 20px; letter-spacing: 3px; margin: 6px 0; }
.review-count { font-size: 13px; color: var(--text-secondary); }
.review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e9f0fb;
    box-shadow: 0 6px 20px rgba(13, 71, 161, .05);
    transition: transform .35s ease, box-shadow .35s ease;
    position: relative;
}
.review-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(13, 71, 161, .13); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1677ff, #69b1ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.review-head b { font-size: 14px; display: block; }
.review-time { font-size: 11.5px; color: var(--text-secondary); }
.review-stars-sm { margin-left: auto; color: #faad14; font-size: 13px; }
.review-product { font-size: 12px; color: #1677ff; margin-bottom: 8px; }
.review-content { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ---- 5. FAQ ---- */
.faq-section { background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid #e9f0fb;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item.active { border-color: rgba(22, 119, 255, .45); box-shadow: 0 8px 24px rgba(13, 71, 161, .08); }
.faq-q {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-arrow { color: var(--text-secondary); font-size: 13px; transition: transform .3s ease; }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0 20px;
}
.faq-item.active .faq-a { max-height: 200px; padding: 0 20px 16px; }

/* ---- 6. 实时成交弹窗 ---- */
#liveTradeBox {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 997;
    pointer-events: none;
}
.live-trade-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border: 1px solid #e4edfb;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 14px 36px rgba(13, 71, 161, .16);
    cursor: pointer;
    max-width: 330px;
    animation: ltIn .45s cubic-bezier(.22, .61, .36, 1) both;
    transition: opacity .4s ease, transform .4s ease;
}
.live-trade-toast.hide { opacity: 0; transform: translateX(-24px); }
.lt-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1677ff, #69b1ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.lt-body p { line-height: 1.5; }
.lt-line1 { font-size: 12px; color: var(--text-secondary); }
.lt-line1 b { color: #fa8c16; }
.lt-line2 { font-size: 13.5px; color: var(--text-primary); }
.lt-line2 b { color: #f5222d; }
.lt-close {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 2px 4px;
    margin-left: 4px;
}
.lt-close:hover { color: #f5222d; }
@keyframes ltIn {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

/* ---- 7. 产品卡"立即购买"按钮 ---- */
.product-btn {
    font-size: 12.5px !important;
    padding: 7px 12px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    font-weight: 500;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
    .hot-rank { grid-template-columns: 1fr 1fr; }
    .guarantee-grid { grid-template-columns: 1fr 1fr; }
    .review-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .hot-rank { grid-template-columns: 1fr; }
    .guarantee-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    #liveTradeBox { left: 12px; bottom: 90px; right: 12px; }
    .live-trade-toast { max-width: none; }
    .promo-text { font-size: 12px; }
}

/* ============================================================
   用户体系 + 移动端适配 v20260911
   ============================================================ */

/* ---- 1. 用户登录态 ----
.user-menu { position: relative; }
.user-name {
    display: inline-flex; align-items: center; gap: 4px;
    cursor: pointer; font-size: 14px; color: var(--text-primary);
    background: #f0f5ff; border: 1px solid #dbe9ff;
    padding: 7px 14px; border-radius: 10px;
    white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis;
}
.user-name .caret { font-size: 11px; color: var(--text-secondary); }
.user-dropdown {
    position: absolute; right: 0; top: calc(100% + 8px);
    background: #fff; border: 1px solid #e9f0fb; border-radius: 12px;
    min-width: 140px; box-shadow: 0 14px 36px rgba(13,71,161,.14);
    padding: 6px; display: none; z-index: 50;
}
.user-menu:hover .user-dropdown { display: block; }
.user-dropdown a {
    display: block; padding: 9px 14px; border-radius: 8px;
    font-size: 13.5px; color: var(--text-primary); text-decoration: none;
}
.user-dropdown a:hover { background: #f0f5ff; color: var(--primary); }
.auth-btn { padding: 8px 16px !important; font-size: 13.5px !important; }

/* ---- 2. 汉堡菜单按钮 ---- */
.menu-toggle {
    display: none;
    width: 40px; height: 40px; border: 1px solid #dbe9ff; border-radius: 10px;
    background: #f0f5ff; color: var(--primary); font-size: 18px;
    cursor: pointer; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.menu-toggle:hover { background: #e0ecff; }

/* ---- 3. 移动端抽屉 ---- */
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(12,26,58,.45);
    z-index: 1100; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-overlay.show { opacity: 1; pointer-events: auto; }
.mobile-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
    background: #fff; z-index: 1101;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.22,.61,.36,1);
    display: flex; flex-direction: column; padding: 70px 0 30px;
    box-shadow: -12px 0 40px rgba(12,26,58,.18);
    overflow-y: auto;
}
.mobile-drawer.open { transform: none; }
.mobile-drawer a {
    display: flex; align-items: center; gap: 10px;
    padding: 15px 26px; font-size: 15px; color: var(--text-primary);
    text-decoration: none; border-bottom: 1px solid #f2f6fc;
}
.mobile-drawer a:hover, .mobile-drawer a.active { background: #f0f5ff; color: var(--primary); }
.mobile-drawer .drawer-login {
    margin: 18px 18px 0; padding: 13px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #0d47a1));
    color: #fff; justify-content: center; border: none; font-weight: 600;
}
.mobile-drawer .drawer-login:hover { color: #fff; }

/* ---- 4. 支付页联系方式 ---- */
.contact-form { padding: 4px 0 8px; }
.contact-form input {
    width: 100%; padding: 12px 16px; border: 1.5px solid #dbe9ff;
    border-radius: 10px; font-size: 14.5px; outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form input:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,119,255,.12);
}

/* ---- 5. 订单查询页 ---- */
.order-query-box {
    max-width: 560px; margin: 0 auto;
    background: #fff; border: 1px solid #e9f0fb; border-radius: 18px;
    padding: 30px; box-shadow: 0 10px 34px rgba(13,71,161,.07);
}
.query-field { margin-bottom: 16px; }
.query-field label {
    display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 7px; font-weight: 500;
}
.query-field input {
    width: 100%; padding: 12px 16px; border: 1.5px solid #dbe9ff;
    border-radius: 10px; font-size: 14.5px; outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.query-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,119,255,.12); }
.query-msg {
    padding: 14px 18px; border-radius: 10px; font-size: 14px;
    text-align: center;
}
.query-msg.error { background: #fff2f0; color: #cf1322; border: 1px solid #ffccc7; }
.query-result-card {
    border: 1px solid #e9f0fb; border-radius: 14px; overflow: hidden;
}
.query-result-head {
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(135deg, #f6f9ff, #eef4ff);
    padding: 13px 18px; font-weight: 600; font-size: 14px;
    border-bottom: 1px solid #e9f0fb;
}
.query-result-row {
    display: flex; justify-content: space-between; gap: 20px;
    padding: 11px 18px; font-size: 13.5px; border-bottom: 1px solid #f2f6fc;
    align-items: center; flex-wrap: wrap;
}
.query-result-row:last-child { border-bottom: none; }
.qr-label { color: var(--text-secondary); flex-shrink: 0; }

/* ---- 6. 我的订单页 ---- */
.page-title h1 { font-size: 26px; margin-bottom: 8px; }
.page-title p { color: var(--text-secondary); font-size: 14px; }
.my-order-card {
    background: #fff; border: 1px solid #e9f0fb; border-radius: 14px;
    margin-bottom: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(13,71,161,.04);
    transition: transform .25s ease, box-shadow .25s ease;
}
.my-order-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,71,161,.09); }
.my-order-head {
    display: flex; justify-content: space-between; align-items: center;
    background: #f8fbff; padding: 12px 18px; border-bottom: 1px solid #eef3fb;
}
.my-order-no { font-size: 13px; color: var(--text-secondary); }
.my-order-status {
    font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 500;
}
.my-order-status.success { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.my-order-status.warning { background: #fffbe6; color: #d48806; border: 1px solid #ffe58f; }
.my-order-status.muted { background: #f5f5f5; color: #8c8c8c; border: 1px solid #e8e8e8; }
.my-order-body {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 14px 18px;
}
.my-order-subject { font-size: 14.5px; font-weight: 500; }
.my-order-amount { font-size: 16px; font-weight: 700; color: #f5222d; white-space: nowrap; }
.my-order-foot {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 18px; border-top: 1px solid #f2f6fc;
}
.my-order-time { font-size: 12px; color: var(--text-secondary); }
.my-order-pay {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #0d47a1));
    color: #fff; font-size: 12.5px; padding: 7px 18px; border-radius: 8px;
    text-decoration: none;
}
.my-order-pay:hover { color: #fff; opacity: .9; }

/* ---- 7. 移动端整体适配 ---- */
@media (max-width: 992px) {
    .header-inner { gap: 10px; }
    .search-box { flex: 1; min-width: 0; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .search-box { display: none; }
    .header-inner { gap: 8px; }
    .header-actions { gap: 6px; }
    .logo-text { font-size: 17px; }
    .cart-btn { width: 38px; height: 38px; }
    .auth-btn { padding: 7px 12px !important; font-size: 12.5px !important; }
    .user-name { padding: 6px 10px; font-size: 12.5px; max-width: 100px; }
    .hero { padding: 46px 0 56px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 14px; }
    .hero-card { padding: 20px; }
    .section { padding: 44px 0; }
    .section-header h2 { font-size: 24px; }
    .promo-text b { display: inline; }
    .order-query-box { padding: 22px 18px; }
    .my-order-body { flex-direction: column; align-items: flex-start; gap: 6px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .logo-icon { width: 32px; height: 32px; }
    .hero-buttons .btn { padding: 10px 18px; font-size: 13px; }
    .products-list-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card .product-info { padding: 10px; }
    .product-card h3 { font-size: 13.5px; }
    .product-price { font-size: 15px; }
    .product-btn { padding: 6px 9px !important; font-size: 11px !important; }
    .user-dropdown { position: fixed; right: 12px; top: 96px; }
    .guarantee-item { padding: 14px 12px; }
    .guarantee-item h4 { font-size: 13.5px; }
    .g-icon { font-size: 22px; }
    .review-card { padding: 16px; }
    .faq-q { font-size: 13.5px; padding: 14px 16px; }
    .page-title h1 { font-size: 22px; }
    .promo-bar-inner { padding: 7px 30px 7px 0; font-size: 11.5px; }
}
