/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1d1d1f;
    --accent-color: #0071e3;
    --text-dark: #1d1d1f;
    --text-light: #86868b;
    --bg-light: #fbfbfd;
    --bg-white: #ffffff;
    --bg-dark: #f5f5f7;
    --border-color: #d2d2d7;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* 全局去除超链接下划线 */
a {
    text-decoration: none;
}

/* 全局按钮样式重置 */
button {
    border: none;
    outline: none;
}

button:focus {
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo a:hover {
    transform: scale(1.02);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    white-space: nowrap;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--accent-color);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 10px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-actions > * {
    flex-shrink: 0;
}

/* 用户按钮容器 - 添加左侧分隔 */
#userBtnContainer {
    margin-left: 4px;
    padding-left: 12px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.search-btn,
.reservation-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.search-btn:hover,
.reservation-btn:hover,
.mobile-menu-btn:hover {
    background: var(--bg-light);
    color: #1a1a1a;
}

/* 隐藏预约按钮和预约数量徽章 */
.reservation-btn {
    display: none !important;
}

.reservation-count {
    display: none !important;
}

.reservation-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #0071e3;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.mobile-menu-btn {
    display: none;
}

/* Logo响应式 */
@media (max-width: 968px) {
    .logo-img {
        height: 50px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .nav-list {
        gap: 25px;
    }
    
    .nav-list a {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .nav-list {
        gap: 15px;
}

    .nav-list a {
        font-size: 14px;
    }
}

/* 全屏 Banner 样式 */
.hero-banner {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    max-height: 900px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 遮罩层，让文字更清晰 */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content .container {
    display: flex;
    justify-content: center;
}

.hero-text {
    max-width: 900px;
    color: var(--text-dark);
    text-align: center;
}

.hero-title {
    font-size: 88px;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.35;
    animation: heroTitleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.04em;
    transform-origin: center;
}

.hero-subtitle {
    font-size: 32px;
    margin-bottom: 56px;
    color: var(--text-light);
    animation: heroSubtitleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.08em;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    animation: heroButtonsIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
    justify-content: center;
}

/* 首页Hero区按钮统一样式 - 大气震撼效果 */
.hero-buttons .btn {
    padding: 18px 44px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-buttons .btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 16px 36px rgba(0, 113, 227, 0.28);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.35);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

.hero-buttons .btn-outline {
    border-color: rgba(0, 113, 227, 0.9);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 震撼视觉效果动画 */
@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(10px);
    }
    60% {
        transform: translateY(-8px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroSubtitleIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroButtonsIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 按钮样式 */
.btn,
.btn-primary,
.btn-outline,
.btn-small,
.btn.btn-primary,
.btn.btn-outline,
.btn-small.btn-primary,
.btn-small.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid rgba(0, 113, 227, 0.85);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    background: transparent;
    color: var(--accent-color);
    box-shadow: none;
}

.btn-small,
.btn-small.btn-primary,
.btn-small.btn-outline {
    padding: 10px 24px;
    font-size: 15px;
}

.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-small:hover,
.btn-small.btn-primary:hover,
.btn-small.btn-outline:hover {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.22);
    transform: translateY(-2px);
}

.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-small:active,
.btn-small.btn-primary:active,
.btn-small.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.2);
}

.hero-buttons .btn {
    padding: 18px 44px;
    font-size: 18px;
    font-weight: 700;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

.hero-buttons .btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 16px 36px rgba(0, 113, 227, 0.28);
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.35);
}

/* Banner响应式 */
@media (max-width: 968px) {
    .hero-banner {
        height: calc(100vh - 70px);
        min-height: 500px;
        max-height: 700px;
        margin-top: 70px;
}

    .hero-title {
        font-size: 64px;
        font-weight: 800;
        margin-bottom: 32px;
        letter-spacing: 0.03em;
        line-height: 1.35;
}

    .hero-subtitle {
        font-size: 26px;
        font-weight: 300;
        margin-bottom: 48px;
        letter-spacing: 0.08em;
        line-height: 1.7;
}

    .hero-buttons .btn {
        padding: 18px 40px;
        font-size: 18px;
    }
}

/* 区块通用样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4facfe);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    color: #666666;
    font-weight: 400;
    line-height: 1.6;
}

/* 产品展示区 */
.products-section {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 113, 227, 0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.3);
    font-size: 24px;
    transition: var(--transition);
    background: var(--bg-dark) !important;
}

.product-card:hover .placeholder-img {
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--text-dark);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    z-index: 1;
    letter-spacing: 0.02em;
}

.product-badge.hot {
    background: var(--accent-color);
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
}

/* 特性展示区 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #1a1a1a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 开发者平台区 */
.developer-section {
    background: var(--bg-dark);
    color: var(--text-dark);
}

.developer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.developer-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.developer-intro {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.developer-features {
    list-style: none;
    margin-bottom: 30px;
}

.developer-features li {
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.developer-features i {
    color: #1a1a1a;
}

.developer-buttons {
    display: flex;
    gap: 15px;
}

.developer-buttons .btn-primary,
.developer-buttons .btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(0, 113, 227, 0.85);
}

/* 代码预览 */
.code-preview {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background: #0f172a;
    padding: 12px 15px;
    display: flex;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #e2e8f0;
}

.code-keyword { color: #c792ea; }
.code-function { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-number { color: #f78c6c; }
.code-comment { color: #546e7a; font-style: italic; }

/* 新闻动态区 */
.news-section {
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 113, 227, 0.12);
}

.news-image .placeholder-img {
    height: 200px;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.news-category {
    color: var(--primary-color);
    font-weight: 600;
}

.news-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.news-link:hover {
    gap: 10px;
}

/* 合作伙伴区 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    padding: 20px 0;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 18px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 84px;
}

.partner-logo img {
    max-width: 180px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo svg {
    width: 100%;
    height: auto;
    max-width: 180px;
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.1);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

.partner-placeholder {
    width: 150px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    border: 2px solid var(--border-color);
}

/* 页脚样式 */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: var(--text-dark);
    font-size: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.social-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

.social-icon {
    flex: 1;
    max-width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-icon:hover {
    color: var(--accent-color);
    background: rgba(0, 113, 227, 0.08);
    transform: translateY(-2px);
}

/* 小红书图标特殊样式 */
.xiaohongshu-icon svg {
    width: 24px;
    height: 24px;
}

/* 确保社交图标容器和订阅框同宽 */
.footer-section .social-links {
    width: 100%;
}

.newsletter {
    margin-top: 20px;
    width: 100%;
}

.newsletter p {
    margin-bottom: 10px;
    color: #a0aec0;
}

.newsletter-form {
    display: flex;
    gap: 5px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: white;
    color: #1a1a1a;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #999999;
}

.newsletter-form button {
    padding: 10px 15px;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: var(--text-light);
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 12px;
}

.footer-bottom-links a:hover {
    color: var(--text-dark);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--text-light);
}

/* 页面Hero区样式 */
.page-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f5f5f7;
    margin-top: 70px;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/banners/lab-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 40px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* 解决方案卡片 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #1a1a1a;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.solution-link:hover {
    gap: 10px;
}

/* 产品规格样式 */
.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.product-specs span {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 社区统计卡片 */
.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 40px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

/* 关于我们页面样式 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.value-item i {
    font-size: 40px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* 时间线样式 */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 80px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
}

.timeline-year::after {
    content: '';
    position: absolute;
    left: 75px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* 招聘卡片 */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.career-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.career-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.career-location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.career-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 联系卡片 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 服务卡片 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1a1a1a;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ样式 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i.fa-question-circle {
    color: #1a1a1a;
    font-size: 20px;
}

.faq-question h3 {
    flex: 1;
    font-size: 16px;
    margin: 0;
}

.faq-toggle {
    color: var(--text-light);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px 60px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* 配件筛选器 */
.accessories-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    background: transparent;
    border: 1px solid rgba(0, 113, 227, 0.85);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.22);
    transform: translateY(-2px);
}

/* 购买渠道样式 */
.buy-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .buy-channels {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.channel-card {
    background: white;
    padding: 48px 36px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-card:hover::before {
    transform: scaleX(1);
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 113, 227, 0.12);
    border-color: rgba(0, 113, 227, 0.1);
}

.channel-icon {
    font-size: 56px;
    color: #1a1a1a !important;
    margin-bottom: 28px;
}

/* 品牌图标样式 */
.brand-icon {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: #1a1a1a !important;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-card:hover .brand-icon {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
}

.brand-icon svg {
    width: 100%;
    height: 100%;
}

.brand-icon svg text {
    fill: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 品牌特定样式（如需要） */
.brand-tmall svg text {
    font-weight: 900;
}

.brand-jd svg text {
    font-weight: 900;
    letter-spacing: 2px;
}

.brand-xiaohongshu svg text {
    font-weight: 800;
}

.brand-douyin svg text {
    font-weight: 800;
}

.brand-dewu svg text {
    font-weight: 800;
}

.channel-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.channel-card > p {
    color: #666666;
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 15px;
}

.channel-features {
    list-style: none;
    text-align: left;
    margin: 28px 0 36px;
    padding: 0;
    background: transparent;
}

.channel-features li {
    padding: 12px 0;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.channel-features li:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.channel-features i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

/* 渠道卡片按钮 */
.channel-card .btn {
    width: 100%;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 999px;
}

.channel-card .btn:hover {
    box-shadow: 0 12px 28px rgba(0, 113, 227, 0.22);
}

/* 门店卡片 */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.store-card {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 113, 227, 0.1);
}

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

.store-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.store-badge {
    background: linear-gradient(135deg, var(--accent-color), #4facfe);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

.store-info p {
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.store-info i {
    color: #1a1a1a;
    margin-top: 3px;
    font-size: 14px;
}

.store-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* 企业采购样式 */
.enterprise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.enterprise-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.enterprise-feature {
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.enterprise-feature:hover {
    background: rgba(0, 113, 227, 0.04);
    transform: translateY(-4px);
}

.enterprise-feature i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.enterprise-feature:hover i {
    transform: scale(1.1);
}

.enterprise-feature h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.enterprise-feature p {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
}

.enterprise-contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.enterprise-contact h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.contact-methods {
    margin-bottom: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-method i {
    font-size: 28px;
    color: #1a1a1a;
}

.contact-method h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-method p {
    color: var(--text-light);
    margin: 0;
}

/* 购买须知 */
.notice-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.notice-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.notice-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-item h3 i {
    color: #1a1a1a;
}

.notice-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* 实验室样式 - Hero Banner */
.lab-hero-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f5f5f7;
    margin-top: 70px;
}

.lab-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/banners/lab-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.lab-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.lab-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 40px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lab-hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.lab-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.lab-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.lab-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666666;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.join-lab {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: #1a1a1a;
}

.join-lab h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.join-lab > p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.lab-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #1a1a1a;
}

.benefit-item i {
    color: #1a1a1a;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 15px;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
    }

    .developer-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 46px;
        font-weight: 800;
        margin-bottom: 28px;
        letter-spacing: 0.02em;
        line-height: 1.35;
    }

    .hero-subtitle {
        font-size: 20px;
        font-weight: 300;
        margin-bottom: 40px;
        letter-spacing: 0.08em;
        line-height: 1.7;
    }
    
    .hero-buttons {
        gap: 16px;
    }
    
    .hero-buttons .btn {
        padding: 16px 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
        padding-bottom: 16px;
    }
    
    .section-title::after {
        width: 48px;
        height: 3px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .hero-banner {
        height: calc(100vh - 60px);
        min-height: 450px;
        max-height: 600px;
        padding: 60px 0;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 24px;
        letter-spacing: 0.01em;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 18px;
        font-weight: 300;
        margin-bottom: 36px;
        letter-spacing: 0.08em;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 18px 36px;
        font-size: 18px;
    }

    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
        padding-bottom: 12px;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

/* ================================
   搜索弹窗样式
   ================================ */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-modal.active {
    display: flex;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 680px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideDown 0.3s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* 搜索弹窗头部 */
.search-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 0 16px;
}

.search-icon {
    color: var(--text-light);
    font-size: 18px;
}

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

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

.search-clear-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    display: none;
    transition: var(--transition);
}

.search-clear-btn:hover {
    color: #1a1a1a;
}

.search-clear-btn.show {
    display: block;
}

.search-close-btn {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-close-btn:hover {
    background: var(--border-color);
}

/* 搜索主体 */
.search-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* 搜索建议 */
.search-suggestions {
    display: block;
}

.suggestions-section {
    margin-bottom: 32px;
}

.suggestions-section:last-child {
    margin-bottom: 0;
}

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

.suggestions-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clear-history-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.clear-history-btn:hover {
    color: #1a1a1a;
}

.suggestions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-tag:hover {
    background: var(--accent-color);
    color: white;
}

.search-history-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.history-item:hover {
    background: var(--bg-dark);
}

.history-item i {
    color: #1a1a1a;
    font-size: 14px;
}

.history-item span {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
}

.history-item-remove {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: var(--transition);
}

.history-item:hover .history-item-remove {
    opacity: 1;
}

.history-item-remove:hover {
    color: #1a1a1a;
}

/* 搜索结果 */
.search-results {
    display: block;
}

.results-header {
    margin-bottom: 16px;
}

.results-count {
    font-size: 14px;
    color: var(--text-light);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.result-item:hover {
    background: var(--bg-dark);
    transform: translateX(4px);
}

.result-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    background: #1a1a1a;
}

.result-icon.product {
    background: #1a1a1a;
}

.result-icon.article {
    background: #1a1a1a;
}

.result-icon.page {
    background: #1a1a1a;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.result-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

.result-meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.result-tag {
    font-size: 12px;
    color: var(--accent-color);
    background: rgba(0, 113, 227, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* 空状态 */
.search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.search-empty i {
    color: #1a1a1a;
    margin-bottom: 16px;
}

.search-empty p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.search-empty span {
    font-size: 14px;
    color: var(--text-light);
}

/* 搜索弹窗底部 */
.search-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.search-tips {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--text-light);
}

.search-tips kbd {
    display: inline-block;
    padding: 3px 8px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .search-modal {
        padding-top: 20px;
    }
    
    .search-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .search-modal-header {
        padding: 16px;
    }
    
    .search-body {
        padding: 16px;
    }
    
    .search-modal-footer {
        padding: 12px 16px;
    }
    
    .result-item {
        flex-direction: column;
    }
    
    .suggestions-tags {
        gap: 6px;
    }
    
    .suggestion-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ================================
   预约功能样式
   ================================ */

/* 预约侧边栏 */
.reservation-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

.reservation-sidebar.active {
    pointer-events: all;
}

.reservation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reservation-sidebar.active .reservation-overlay {
    opacity: 1;
}

.reservation-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 420px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.reservation-sidebar.active .reservation-content {
    transform: translateX(0);
}

/* 预约头部 */
.reservation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.reservation-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.reservation-close-btn {
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.reservation-close-btn:hover {
    background: var(--border-color);
}

/* 预约主体 */
.reservation-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

/* 空状态 */
.reservation-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    height: 100%;
}

.reservation-empty i {
    color: #1a1a1a;
    margin-bottom: 16px;
}

.reservation-empty p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.reservation-empty span {
    font-size: 14px;
    color: var(--text-light);
}

/* 预约列表 */
.reservation-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reservation-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.reservation-item:hover {
    background: var(--bg-dark);
}

.reservation-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    position: relative;
}

.reservation-item-image .placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #0056b3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.item-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #f59e0b;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.reservation-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.item-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.deposit-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

.remove-item-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.remove-item-btn:hover {
    color: #ef4444;
}

/* 预约底部汇总 */
.reservation-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
    background: var(--bg-white);
}

.reservation-summary {
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row span:first-child {
    color: var(--text-light);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.deposit-amount {
    color: var(--accent-color) !important;
    font-size: 18px !important;
}

.summary-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 12px;
    color: #92400e;
    margin-top: 12px;
}

.summary-note i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #1a1a1a;
}

.summary-note.deposit-warning {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.summary-note.deposit-warning i {
    color: #dc2626;
}

.summary-note.deposit-warning strong {
    font-weight: 700;
}

.btn-reserve {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

/* ================================
   预约信息表单弹窗
   ================================ */

.reservation-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.reservation-form-modal.active {
    display: flex;
}

.reservation-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.reservation-form-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideDown 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.reservation-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.reservation-form-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.reservation-form-close-btn {
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.reservation-form-close-btn:hover {
    background: var(--border-color);
}

.reservation-form-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 6px;
    color: #1a1a1a;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.deposit-info {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.deposit-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.deposit-info-row:last-child {
    margin-bottom: 0;
}

.deposit-info-row span {
    font-size: 14px;
    color: var(--text-light);
}

.deposit-info-row strong {
    font-size: 16px;
    color: var(--text-dark);
}

.form-actions {
    display: flex;
    gap: 12px;
}

.form-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 15px;
}

/* 定金协议 */
.deposit-agreement {
    margin: 20px 0;
    padding: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.agreement-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement-text {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
}

.agreement-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--accent-color);
    transition: var(--transition);
}

.agreement-link:hover {
    color: #0056b3;
}

.btn-submit-deposit {
    background: #dc2626;
}

.btn-submit-deposit:hover {
    background: #b91c1c;
}

/* 响应式 */
@media (max-width: 768px) {
    .reservation-content {
        max-width: 100%;
        width: 100%;
    }
    
    .reservation-header,
    .reservation-body,
    .reservation-footer {
        padding: 16px 20px;
    }
    
    .reservation-item {
        padding: 12px;
    }
    
    .reservation-item-image {
        width: 60px;
        height: 60px;
    }
    
    .reservation-item-image .placeholder-img {
        font-size: 24px;
    }
    
    .reservation-form-content {
        max-width: 100%;
        width: 95%;
    }
    
    .reservation-form-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* ========================================
   用户系统样式
======================================== */

/* 用户按钮容器 */
#userBtnContainer {
    display: flex;
    align-items: center;
    gap: 0;
}

/* 未登录状态 - 使用图标按钮 */
.user-icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.user-icon-btn:hover {
    background: var(--bg-light);
}

/* 保留原有按钮样式作为备用 */
#userBtnContainer .btn-small {
    padding: 8px 20px;
    font-size: 13px;
    white-space: nowrap;
}

#userBtnContainer .btn-outline,
#userBtnContainer .btn-primary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(0, 113, 227, 0.85);
}

#userBtnContainer .btn-outline:hover,
#userBtnContainer .btn-primary:hover {
    background: var(--accent-color);
    color: #ffffff;
}

/* 访客用户菜单（未登录） */
.guest-user-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 70px 20px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.guest-user-menu.show {
    opacity: 1;
    visibility: visible;
}

.guest-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.guest-menu-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.guest-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.guest-menu-item:hover {
    background: var(--bg-light);
}

.guest-menu-item i {
    width: 18px;
    text-align: center;
    color: #1a1a1a;
}

/* 用户菜单（已登录） */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-avatar-btn {
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
}

.user-avatar-btn:hover {
    background: var(--bg-light);
}

.user-avatar-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* 用户名显示 */
.user-name-short {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    display: inline-block !important;
    transition: var(--transition);
    flex-shrink: 0;
}

.user-name-full {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    display: none !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 悬停时显示完整用户名 */
.user-avatar-btn:hover .user-name-short {
    display: none !important;
}

.user-avatar-btn:hover .user-name-full {
    display: inline-block !important;
}

/* 保留旧样式以防万一 */
.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.user-dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.user-dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
}

.user-dropdown-item:hover {
    background: var(--bg-light);
}

.user-dropdown-item i {
    width: 16px;
    text-align: center;
    color: #1a1a1a;
}

/* 登录/注册弹窗 */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    transition: var(--transition);
}

.auth-modal-close:hover {
    background: #e0e0e0;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.auth-form .form-group label i {
    margin-right: 6px;
    color: #1a1a1a;
}

.auth-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    transition: var(--transition);
    box-sizing: border-box;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.auth-form .form-actions {
    margin-top: 30px;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.auth-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    color: var(--accent-color);
}

/* 个人中心页面 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.profile-avatar {
    flex-shrink: 0;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-light);
}

.profile-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.profile-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    margin-bottom: 10px;
    font-size: 15px;
}

.profile-info p i {
    width: 20px;
    text-align: center;
    color: #1a1a1a;
}

/* 订单卡片 */
.order-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.order-id {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.order-status {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 12px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

.order-products {
    margin-bottom: 15px;
}

.order-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #1a1a1a;
    font-size: 14px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.order-total {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.order-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
}

.order-date {
    font-size: 13px;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 16px;
    color: #666;
}

/* 提示消息 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10003;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast i {
    font-size: 20px;
}

.toast-success i {
    color: #10b981;
}

.toast-error i {
    color: #ef4444;
}

.toast span {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

/* 响应式 */
@media (max-width: 768px) {
    .user-name,
    .user-name-short,
    .user-name-full {
        display: none !important;
    }
    
    .user-avatar-btn:hover .user-name-short,
    .user-avatar-btn:hover .user-name-full {
        display: none !important;
    }
    
    .user-avatar-btn {
        padding: 6px;
    }
    
    .user-avatar-img {
        width: 26px;
        height: 26px;
    }
    
    .guest-user-menu {
        padding: 60px 10px 10px 10px;
    }
    
    .guest-menu-content {
        min-width: 160px;
    }
    
    .guest-menu-item {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-info p {
        justify-content: center;
    }
    
    .auth-modal-content {
        padding: 30px 20px;
    }
    
    .order-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ================================
   二维码弹窗样式
   ================================ */

.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
}

.qrcode-modal.active {
    display: flex;
}

.qrcode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.qrcode-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.qrcode-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 18px;
}

.qrcode-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.qrcode-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.qrcode-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.qrcode-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .qrcode-content {
        padding: 30px 20px;
    }
    
    .qrcode-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

