body {
    font-family: 'AlimamaFangYuanTi';
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 滚动条样式 - 黑色主题 */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 4px;
}


/* Firefox 滚动条样式 - 黑色主题 */
html {
    scrollbar-width: inherit;
    scrollbar-color: #000 #f0f0f0;
}

/* Header - 智能定位 */
.header {
    background-color: #ffffff;
    padding: 20px 80px; /* 改为40px左右内边距 */
    display: flex;
    align-items: center;
    position: fixed;
    top: 40px; /* 默认在topbar下方 */
    left: 0;
    right: 0;
    z-index: 1001;
    border-bottom: 0.6px solid #e6e6e6;
    transition: top 0.3s ease; /* 添加过渡动画 */
}

/* Header 在topbar隐藏时的位置 */
.header.topbar-hidden {
    top: 0; /* topbar隐藏时，header移到顶部 */
}

/* Logo 容器样式 - 左对齐 */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左对齐 */
    height: 100%;
    z-index: 10;
    margin-left: 40px;; /* 添加左边距 */
}

/* Logo 链接样式 - 左对齐 */
.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左对齐 */
    height: 100%;
    transition: transform 0.3s ease;
}

/* Logo 图片样式 - 移除margin auto */
.logo-image {
    height: 26px;
    width: auto;
    max-width: 200px;
    min-width: 120px;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
    /* 移除 margin: 0 auto; */
}

.logo-image:hover {
    filter: brightness(1.1);
}

/* 响应式调整 - 针对高分辨率图片 */
@media (max-width: 1400px) {
    .logo-image {
        height: 28px;
        max-width: 230px;
    }
}

@media (max-width: 1200px) {
    .logo {
        left: 35px;
    }
    .logo-image {
        height: 28px;
        max-width: 200px;
    }
}

@media (max-width: 992px) {
    .logo {
        left: 30px;
    }
    .logo-image {
        height: 42px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .logo {
        left: 20px;
    }
    .logo-image {
        height: 40px;
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .logo {
        left: 15px;
    }
    .logo-image {
        height: 38px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo {
        left: 12px;
    }
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
}

@media (max-width: 360px) {
    .logo {
        left: 10px;
    }
    .logo-image {
        height: 32px;
        max-width: 100px;
    }
}

/* 确保logo在header中正确对齐 */
.header .logo {
    display: flex;
    align-items: center;
    height: 100%;
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .logo-image {
        filter: invert(1);
    }
}

/* 打印样式 */
@media print {
    .logo-image {
        filter: none;
        height: 40px;
        max-width: 150px;
    }
}

/* 如果logo图片有透明背景，确保背景色 */
.logo-image {
    background: transparent;
}

/* 防止图片被拉伸 */
.logo-image {
    object-fit: contain;
    object-position: center;
}

/* Top Bar 样式 - 智能显示/隐藏 */
.topbar {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    font-family: 'Alimama', sans-serif;
    transition: transform 0.3s ease; /* 添加过渡动画 */
    transform: translateY(0); /* 默认显示 */
}

/* Topbar 隐藏状态 */
.topbar.hidden {
    transform: translateY(-100%); /* 向上隐藏 */
}

.topbar-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.topbar-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .topbar {
        padding: 10px 0;
    }
    
    .topbar-text {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 8px 0;
    }
    
    .topbar-text {
        font-size: 11px;
        letter-spacing: 0.2px;
        line-height: 1.4;
    }
}

.nav {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0 auto;
}

.nav-item {
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px; /* 调整下划线与文字的距离 */
    left: 0;
    right: 0;
    height: 2px; /* 下划线粗细 */
    background-color: #ff6600; /* 橙色 */
    border-radius: 1px;
}

        .nav-link {
            text-decoration: none;
            color: #333;
            font-size: 16px;
            font-weight: 500;
            padding: 10px 0;
            transition: color 0.3s ease;
            position: relative;
        }

        /*.nav-link:hover {*/
        /*    color: #ff6b35;*/
        /*}*/

        .nav-link.active {
            color: #ff6b35;
        }

        /* 橙色下划线 - 默认隐藏 */
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -12px; /* 调整到与header底部黑色线同一高度 */
            left: 0;
            width: 0;
            height: 2px;
            background-color: #ff6b35;
            transition: width 0.3s ease;
            opacity: 0;
        }

        /* 悬停时显示下划线 */
        .nav-link:hover::after {
            width: 100%;
            opacity: 1;
        }

        /* 当前浏览分类的常驻下划线 */
        .nav-link.browsing::after {
            width: 100%;
            opacity: 1;
            background-color: #ff6b35;
        }

/* 右上角功能区域 */
.header-actions {
    position: absolute;
    right: 80px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 搜索功能 - 修复版本 */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-button {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.search-button:hover {
    color: #ff6b35;
}

.search-input {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
    outline: none;
    font-size: 14px;
    z-index: 5;
}

.search-input.active {
    width: 200px;
    opacity: 1;
}

.search-input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

/* 侧边栏折叠按钮 - 优化两条线样式 */
.sidebar-toggle {
    width: 20px; /* 减少宽度，让线条更短 */
    height: 10px; /* 增加高度，让间距更小 */
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    color: #333;
}

.sidebar-toggle:hover {
    color: #ff6b35;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

/* sidebar-toggle 激活状态 - 变成真正的X形状 - 强制优先级 */
button.sidebar-toggle.active,
.header-actions .sidebar-toggle.active,
#sidebarToggle.active {
    width: 24px !important; /* 关闭按钮稍微大一点 */
    height: 24px !important; /* 关闭按钮稍微大一点 */
    position: relative !important;
    display: flex !important;
    flex-direction: row !important; /* 重置为行方向 */
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #333 !important;
}

button.sidebar-toggle.active .hamburger-line:nth-child(1),
.header-actions .sidebar-toggle.active .hamburger-line:nth-child(1),
#sidebarToggle.active .hamburger-line:nth-child(1) {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    width: 20px !important; /* X 线条更长 */
    height: 2px !important;
    background-color: currentColor !important;
}

button.sidebar-toggle.active .hamburger-line:nth-child(2),
.header-actions .sidebar-toggle.active .hamburger-line:nth-child(2),
#sidebarToggle.active .hamburger-line:nth-child(2) {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
    width: 20px !important; /* X 线条更长 */
    height: 2px !important;
    background-color: currentColor !important;
}

/* 侧边栏 */
.sidebar {
    position: fixed;
    top: 104px; /* 从topbar+header下方开始 */
    right: -350px;
    width: 350px;
    height: calc(100vh - 104px); /* 减去topbar+header的高度 */
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease, top 0.3s ease; /* 添加top过渡动画 */
    z-index: 1003;
    padding: 30px;
    overflow-y: auto;
    overflow-x: hidden; /* 隐藏横向滚动条 */
}

/* 当topbar隐藏时，sidebar调整位置 - 通过JavaScript控制 */
.sidebar.topbar-hidden {
    top: 66px; /* 只减去header的高度 */
    height: calc(100vh - 66px); /* 只减去header的高度 */
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    margin-left: -30px; /* 延伸到sidebar左边缘 */
    margin-right: -30px; /* 延伸到sidebar右边缘 */
    padding-left: 30px; /* 保持内容内边距 */
    padding-right: 30px; /* 保持内容内边距 */
    border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.sidebar-close {
    display: none; /* 隐藏内部关闭按钮，使用sidebar-toggle作为关闭按钮 */
}

.sidebar-close:hover {
    color: #ff6b35;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav-item {
    margin-bottom: 15px;
    margin-left: -30px; /* 延伸到sidebar左边缘 */
    margin-right: -30px; /* 延伸到sidebar右边缘 */
    padding-left: 30px; /* 保持内容内边距 */
    padding-right: 30px; /* 保持内容内边距 */
    border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
    /*padding-bottom: 15px; */
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 0; /* 调整垂直内边距 */
    margin: 0; /* 移除负边距 */
    padding-left: 0; /* 移除左侧内边距 */
    padding-right: 0; /* 移除右侧内边距 */
    border-bottom: none; /* 移除分隔线 */
    transition: color 0.3s ease;
}

/* 移除伪元素分隔线 */
.sidebar-nav-link::after {
    display: none;
}

.chevron-down {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* 子菜单样式 */
.sidebar-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: transparent; /* 移除背景色 */
    margin: 0; /* 移除负边距 */
    padding: 0; /* 移除内边距 */
}

.sidebar-submenu.active {
    max-height: 500px; /* 增加最大高度以显示更多内容 */
}

.sidebar-submenu-link {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0 8px 20px; /* 调整子菜单内边距 */
    border-bottom: none; /* 移除分隔线 */
    transition: color 0.3s ease;
}

.sidebar-submenu-link:hover {
    color: #ff6b35;
}

/* 箭头旋转动画 */
.sidebar-nav-item.active .chevron-down {
    transform: rotate(180deg);
}

/* 遮罩层 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SVG图标样式 */
.icon {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Dropdown Menu - 关键修复：改为absolute定位 */
.dropdown {
    position: absolute; /* 改为absolute，相对于header定位 */
    left: 0;
    right: 0;
    top: 100%; /* 紧贴header下方 */
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    padding: 40px 0;
    display: none;
    z-index: 1000;
    opacity: 0;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    width: 100vw;
    min-height: 400px;
}

.dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 统一的内容容器 */
.dropdown-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    height: 100%;
    display: flex;
    gap: 40px;
}

/* 左侧分类区域 - 统一宽度 */
.dropdown-left {
    flex: 0 0 300px;
    display: flex;
    gap: 20px;
}

/* 右侧内容区域 - 自适应剩余宽度 */
.dropdown-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 分类样式 */
.category-section {
    margin-bottom: 20px;
}

.category-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.category-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.category-link:hover {
    color: #ff6b35;
}

/* 右侧内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 100%;
}

/* 图片画廊容器 */
.image-gallery {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 100%;
}

.image-gallery.active {
    display: grid;
}

/* 图片卡片样式 */
.gallery-item {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

/*.gallery-item:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

.gallery-image {
    position: relative;
    /*border-radius: 8px;*/
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #f8f8f8;
    aspect-ratio: 1;
}

/*.gallery-image:hover {*/
/*    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);*/
/*}*/

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* 图片卡片样式 - 16:9比例 */
.nav-item[data-dropdown="recommend"] .gallery-image {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    aspect-ratio: 16/9; /* 改为16:9比例 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px; /* 设置最小高度 */
    width: 100%; /* 添加宽度控制 */
    max-width: 300px; /* 设置最大宽度 */
}

/* 响应式宽度调整 */
@media (max-width: 1400px) {
    .nav-item[data-dropdown="recommend"] .gallery-image {
        margin: 8px;
        min-height: 180px;
        max-width: 280px; /* 稍微减少最大宽度 */
    }
}

@media (max-width: 1200px) {
    .nav-item[data-dropdown="recommend"] .gallery-image {
        margin: 6px;
        min-height: 150px;
        max-width: 250px; /* 进一步减少最大宽度 */
    }
}

@media (max-width: 1024px) {
    .nav-item[data-dropdown="recommend"] .gallery-image {
        margin: 5px;
        min-height: 120px;
        max-width: 200px; /* 继续减少最大宽度 */
    }
}

@media (max-width: 768px) {
    .nav-item[data-dropdown="recommend"] .gallery-image {
        margin: 4px;
        min-height: 100px;
        max-width: 150px; /* 小屏幕上更小的最大宽度 */
    }
}

.nav-item[data-dropdown="recommend"] .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持图片比例，完整显示 */
    transition: all 0.4s ease;
    /*border-radius: 12px;*/
}

/* 只针对 recommend 下拉菜单的 announcement 部分 */
.nav-item[data-dropdown="recommend"] .blog-gallery {
    display: none;
    width: 100%;
    max-width: 100%;
    grid-column: 1 / -1; /* 跨越所有列 */
}

.nav-item[data-dropdown="recommend"] .blog-gallery.active {
    display: block;
}

.nav-item[data-dropdown="recommend"] .blog-content {
    padding: 20px 10px;
    width: 100%;
    max-width: 100%;
}

.nav-item[data-dropdown="recommend"] .blog-card {
    background: white;
    border-radius: 16px;
    padding: 32px 50px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.nav-item[data-dropdown="recommend"] .blog-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 18px 0;
    line-height: 1.4;
}

.nav-item[data-dropdown="recommend"] .blog-description {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 22px 0;
    line-height: 1.6;
}

.nav-item[data-dropdown="recommend"] .blog-date {
    font-size: 15px;
    color: #8e9aaf;
    margin: 0 0 26px 0;
    font-style: italic;
}

/* 原有的内容卡片样式保持不变 */
.content-card {
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-grid,
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-link {
        padding: 6px 0;
        font-size: 13px;
    }
    
    .content-card {
        min-height: 150px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .content-grid,
    .image-gallery {
        gap: 10px;
    }
    
    .content-card {
        min-height: 120px;
        padding: 10px;
    }
}

/* 品牌图片样式 */
.brand-image {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.content-text {
    color: #ff6b35;
    font-size: 12px;
    line-height: 1.4;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: #fafafa;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*.product-card:hover {*/
/*    transform: scale(1.05);*/
/*}*/

.card-image {
    background: #f0f0f0;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    color: #ff6b35;
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-subtitle {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

/* Cases下拉特殊布局 */
.cases-dropdown .dropdown-right {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.cases-column {
    display: flex;
    flex-direction: column;
}

.cases-promo {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.promo-image {
    width: 300px;        /* 固定宽度 */
    height: 200px;       /* 固定高度 */
    object-fit: cover;   /* 保持比例，裁剪多余部分 */
    /*border-radius: 8px;*/
}

.promo-text {
    color: #ff6b35;
    font-size: 14px;
    text-align: center;
}

/* 全局滚动条控制 - 只显示垂直滚动条 */
html, body {
    overflow-x: hidden; /* 隐藏水平滚动条 */
    overflow-y: auto; /* 允许垂直滚动 */
}

/* 搜索下拉框遮罩层 */
#searchOverlay {
    position: fixed;
    top: 105px; /* 从header下方开始，不被遮挡 */
    left: 0;
    right: 0;
    height: calc(100vh - 90px); /* 固定高度，不占据整个视口 */
    background: transparent; /* 透明背景 */
    z-index: 999; /* 低于header */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none; /* 默认不拦截点击 */
}

#searchOverlay.active {
    pointer-events: auto; /* 激活时才拦截点击 */
    opacity: 1;
    visibility: visible;
}

/* 搜索内容容器 */
#searchOverlay .search-content-wrapper {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 100px);
    background: #fafafa;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    border-top: 1px solid #e0e0e0;
}

#searchOverlay.active .search-content-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 搜索内容区域 - flex布局，不滚动 */
.search-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden; /* 容器不滚动 */
    min-height: 0; /* 允许flex子元素缩小 */
}

/* 当搜索激活时，禁用body滚动 */
body.search-open {
    overflow: hidden;
}

/* 搜索输入区域 */
.search-input-area {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    flex-shrink: 0; /* 输入区域不收缩 */
}

/* 搜索结果区域 - 唯一的滚动容器 */
#searchResults {
    flex: 1;
    overflow-y: auto; /* 这是唯一的滚动容器 */
    overflow-x: hidden;
    min-height: 0; /* 允许flex子元素缩小 */
}

/* 移动端搜索输入区域 */
@media (max-width: 768px) {
    .search-input-area {
        padding: 12px 15px;
    }
}

.search-input-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #666;
    flex-shrink: 0;
}

.search-overlay-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    color: #333;
    outline: none;
    font-weight: 400;
    padding: 8px 0;
    line-height: 1.4;
}

.search-overlay-input::placeholder {
    color: #999;
    font-weight: 300;
}

/* 平板端适配 */
@media (min-width: 768px) {
    .search-input-area {
        padding: 20px 60px;
    }
    
    .search-input-icon {
        width: 22px;
        height: 22px;
        margin-right: 15px;
    }
    
    .search-overlay-input {
        font-size: 18px;
    }
}

/* 桌面端适配 */
@media (min-width: 1024px) {
    .search-input-area {
        padding: 20px 80px;
    }
    
    .search-input-icon {
        width: 24px;
        height: 24px;
        margin-right: 18px;
    }
    
    .search-overlay-input {
        font-size: 20px;
        font-weight: 300;
    }
}

/* 大屏幕桌面端 */
@media (min-width: 1200px) {
    .search-input-area {
        padding: 20px 300px;
    }
    
    .search-overlay-input {
        font-size: 22px;
    }
}

/* 搜索建议 */
#searchSuggestions {
    background: transparent;
    margin-bottom: 20px;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 桌面端搜索建议padding */
@media (min-width: 1024px) {
    #searchSuggestions {
        padding: 0 80px;
    }
}

@media (min-width: 1200px) {
    #searchSuggestions {
        padding: 0 100px;
    }
}

.suggestions-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.suggestion-item {
    display: block;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
}

.suggestion-item:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1); /* 悬停时的半透明橙色背景 */
}

/* 关闭按钮 - 隐藏搜索框内的关闭按钮 */
.search-close-btn {
    display: none; /* 隐藏搜索框内的关闭按钮，只保留header上的 */
}

.search-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.search-close-btn .icon {
    width: 24px;
    height: 24px;
    fill: #333;
}

/* 搜索结果页面样式 */
.search-results-page {
    background: #fafafa;
    padding: 20px 0;
}

/* 搜索结果头部 */
.search-results-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

/* 灰色线条 - 短一点 */
.search-results-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px; /* 与橙色线条左对齐 */
    width: 1320px; /* 设置灰色线条长度，可以调整 */
    height: 1px;
    background: #eee;
}

/* 橙色线条覆盖在灰色线条上 */
.search-results-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px; /* 与产品卡片的左边对齐 */
    width: 60px;
    height: 3px; /* 橙色线条更粗 */
    background: #ff6b35;
    z-index: 1;
}

.search-results-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #ff6b35;
    text-decoration: none;
}

.view-all-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.view-all-link:hover .view-all-arrow {
    transform: translateY(-2px);
}

/* 搜索结果网格 - 3列大卡片布局 */
.search-results-grid {
    display: grid;
    gap: 0.2rem;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

/* 产品卡片 - 大卡片样式 */
.search-result-card {
    background: #fafafa;
    padding: 0;
    
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);*/
    /*transition: all 0.3s ease;*/
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}



/* 产品标签 */
.search-result-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.search-result-label.new {
    background: #000;
    color: #fff;
}

.search-result-label.hot {
    background: #ff6b35;
    color: #fff;
}

.search-result-label.sale {
    background: #28a745;
    color: #fff;
}

/* 产品图片区域 */
.search-result-image {
    width: 100%;
    height: 300px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* 产品信息区域 */
.search-result-info {
    padding: 20px;
}

/* 产品型号和色卡同一行 */
.search-result-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* 产品名称和价格同一行 */
.search-result-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

/* 产品型号 */
.search-result-model {
    font-size: 14px;
    font-weight: 300;
    color: #666;
    margin: 0;
    /*font-family: 'Courier New', monospace;*/
    text-transform: uppercase;
}

/* 产品名称 */
.search-result-name {
    font-size: 14px;
    font-weight: 300;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 80px; /* 增加右边距 */
    text-align: left;
    max-width: calc(100% - 80px); /* 限制最大宽度，为价格留出空间 */
    min-width: 0; /* 允许flex项目收缩 */
}

/* 价格 */
.search-result-price {
    display: none;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    white-space: nowrap;
}

/* 色卡区域 */
.search-result-colors {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.search-result-color-swatch {
    width: 16px;
    height: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.search-result-color-swatch:hover {
    transform: scale(1.1);
}

.search-result-color-swatch.white {
    border: 2px solid #ddd;
}

/* 加载更多按钮 */
.load-more-container {
    text-align: center;
    padding: 40px 0;
}

.load-more-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 30px 50px;
    }
    
    .search-results-header {
        padding: 0 30px 20px;
    }
}

@media (max-width: 768px) {
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px 40px;
    }
    
    .search-results-header {
        padding: 0 20px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .search-results-title {
        font-size: 1.5rem;
    }
    
    .search-result-image {
        height: 250px;
    }
    
    .search-result-info {
        padding: 15px;
    }
    
    .search-result-colors {
        gap: 6px;
    }
    
    .search-result-color-swatch {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .search-results-grid {
        padding: 0 15px 30px;
    }
    
    .search-results-header {
        padding: 0 15px 15px;
    }
    
    .search-result-image {
        height: 200px;
    }
    
    .search-result-info {
        padding: 12px;
    }
    
    .search-result-name {
        font-size: 14px;
    }
    
    .search-result-price {
        font-size: 16px;
    }
    
    .search-result-colors {
        gap: 4px;
    }
    
    .search-result-color-swatch {
        width: 16px;
        height: 16px;
    }
}

/* 确保搜索结果容器正确显示 */
#searchResultsList {
    display: block !important;
}

#resultsContainer {
    width: 100%;
}

/* 搜索覆盖层中的搜索结果样式调整 */
#searchOverlay .search-results-page {
    background: transparent;
    padding-top: 0;
}

#searchOverlay .search-results-header {
    margin-bottom: 20px;
}

#searchOverlay .search-results-grid {
    padding-bottom: 40px;
}

/* 隐藏搜索覆盖层内部的关闭按钮 */
.search-overlay .search-close-btn {
    display: none !important;
}

/* 移动端搜索功能样式 */
@media (max-width: 768px) {
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        position: static;
        right: auto;
        margin-left: auto;
    }
    
    .search-container {
        position: relative;
    }
    
    .search-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
        color: #333;
    }
    
    .search-button:hover {
        background-color: rgba(0,0,0,0.05);
        border-radius: 4px;
    }
    
    .search-button .icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
        transition: all 0.3s ease;
    }
    
    .search-input {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        padding: 12px 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        font-size: 14px;
        z-index: 1000;
        margin-top: 8px;
    }
    
    .search-input.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .search-input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 4px 12px rgba(0,123,255,0.2);
    }
    
    /* 搜索激活时的样式 */
    .search-container.active .search-icon {
        display: none;
    }
    
    .search-container.active .close-icon {
        display: block;
    }
    
    .search-container.active .search-input {
        display: block;
    }
    
    /* 搜索激活时隐藏侧边栏按钮 */
    .search-container.active ~ .sidebar-toggle {
        display: none;
    }
    
    .sidebar-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
        color: #333;
    }
    
    .sidebar-toggle:hover {
        background-color: rgba(0,0,0,0.05);
        border-radius: 4px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
        background: currentColor;
        margin: 2px 0;
        transition: all 0.3s ease;
    }
    
    .sidebar-toggle:hover .hamburger-line {
        background: currentColor;
    }
}

/* 桌面端保持原有样式 */
@media (min-width: 769px) {
    .search-container.active ~ .sidebar-toggle {
        display: flex;
    }
    
    .search-input {
        display: none; /* 桌面端不显示移动端搜索框 */
    }
}

/* 动画效果 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 确保图标正确显示 */
.search-icon,
.close-icon {
    width: 20px;
    height: 20px;
    fill: #333333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-nav {
        display: none;
    }
    
    .search-main-content {
        padding: 40px 20px;
    }
    
    .search-overlay-header {
        padding: 15px 20px;
    }
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    /* 搜索下拉框移动端样式 */
    #searchOverlay {
        max-height: calc(100vh - 85px);
    }
    
    /* Top Bar 移动端样式 - 增加高度 */
    .topbar {
        padding: 12px 0; /* 从 8px 增加到 12px */
        font-size: 12px;
        min-height: 40px; /* 添加最小高度 */
        transition: transform 0.3s ease; /* 确保有过渡动画 */
        transform: translateY(0); /* 默认显示 */
    }
    
    /* Topbar 隐藏状态 - 移动端 */
    .topbar.hidden {
        transform: translateY(-100%); /* 向上隐藏 */
    }
    
    .topbar-container {
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40px; /* 确保容器有足够高度 */
    }
    
    .topbar-text {
        font-size: 11px;
        letter-spacing: 0.2px;
        line-height: 1.4;
        margin: 0;
    }

    /* Header 移动端样式 */
    .header {
        padding: 15px 20px;
        position: fixed; /* 保持固定定位 */
        top: 40px; /* 保持默认位置 */
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: top 0.3s ease; /* 添加过渡动画 */
    }
    
    /* Header 在topbar隐藏时的位置 - 移动端 */
    .header.topbar-hidden {
        top: 0; /* topbar隐藏时，header移到顶部 */
    }

    /* Logo 移动端样式 */
    .logo {
        position: static;
        left: auto;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        flex: 1;
    }

    .logo-image {
        height: 32px;
        max-width: 120px;
        min-width: 80px;
        object-fit: contain;
        object-position: left center;
    }

    /* 导航菜单隐藏 */
    .nav {
        display: none;
    }

    /* 右上角功能区域移动端样式 */
    .header-actions {
        position: static;
        right: auto;
        display: flex;
        align-items: center;
        gap: 20px; /* 增加间距 */
        margin-left: auto;
    }

    /* 搜索按钮移动端样式 - 放大 */
    .search-button {
        width: 28px; /* 从 20px 增加到 28px */
        height: 28px; /* 从 20px 增加到 28px */
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-button .icon {
        width: 24px; /* 从 20px 增加到 24px */
        height: 24px; /* 从 20px 增加到 24px */
    }

    /* 侧边栏按钮移动端样式 - 优化两条线 */
    .sidebar-toggle {
        width: 20px; /* 减少宽度，让线条更短 */
        height: 20px; /* 增加高度，让间距更小 */
        color: #333;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .hamburger-line {
        width: 100%;
        height: 2px; /* 确保线条高度 */
        background-color: currentColor;
        transition: all 0.3s ease;
        border-radius: 1px;
    }

    /* 移动端 sidebar-toggle 激活状态 - 变成真正的X形状 - 强制优先级 */
    button.sidebar-toggle.active,
    .header-actions .sidebar-toggle.active,
    #sidebarToggle.active {
        width: 24px !important; /* 关闭按钮稍微大一点 */
        height: 24px !important; /* 关闭按钮稍微大一点 */
        position: relative !important;
        display: flex !important;
        flex-direction: row !important; /* 重置为行方向 */
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        color: #333 !important;
    }

    button.sidebar-toggle.active .hamburger-line:nth-child(1),
    .header-actions .sidebar-toggle.active .hamburger-line:nth-child(1),
    #sidebarToggle.active .hamburger-line:nth-child(1) {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
        width: 20px !important; /* X 线条更长 */
        height: 2px !important;
        background-color: currentColor !important;
    }

    button.sidebar-toggle.active .hamburger-line:nth-child(2),
    .header-actions .sidebar-toggle.active .hamburger-line:nth-child(2),
    #sidebarToggle.active .hamburger-line:nth-child(2) {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(-45deg) !important;
        width: 20px !important; /* X 线条更长 */
        height: 2px !important;
        background-color: currentColor !important;
    }

    /* 侧边栏移动端样式 - 80%屏幕宽度 */
    .sidebar {
        width: 80vw; /* 使用80%视口宽度 */
        right: -80vw; /* 调整隐藏位置 */
        top: 104px; /* 从topbar+header下方开始 */
        height: calc(100vh - 104px); /* 减去topbar+header的高度 */
        padding: 30px; /* 保持与桌面端一致的padding */
        transition: right 0.3s ease, top 0.3s ease; /* 添加top过渡动画 */
        overflow-x: hidden; /* 隐藏横向滚动条 */
        box-sizing: border-box; /* 确保padding不会影响总宽度 */
        box-shadow: none; /* 移除阴影，避免视觉空隙 */
    }
    
    /* 当topbar隐藏时，移动端sidebar调整位置 - 通过JavaScript控制 */
    .sidebar.topbar-hidden {
        top: 66px; /* 只减去header的高度 */
        height: calc(100vh - 66px); /* 只减去header的高度 */
    }

    .sidebar.active {
        right: 0; /* 完全显示，80%屏幕宽度 */
        width: 80vw !important; /* 强制使用80%视口宽度 */
        max-width: none !important; /* 移除任何最大宽度限制 */
    }

    .sidebar-header {
        margin-bottom: 30px; /* 保持与桌面端一致 */
        padding-bottom: 20px; /* 保持与桌面端一致 */
        margin-left: -30px; /* 延伸到sidebar左边缘 */
        margin-right: -30px; /* 延伸到sidebar右边缘 */
        padding-left: 30px; /* 保持内容内边距 */
        padding-right: 30px; /* 保持内容内边距 */
        border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
    }

    .sidebar-title {
        font-size: 18px; /* 保持与桌面端一致 */
        font-weight: bold; /* 保持与桌面端一致 */
    }

    .sidebar-nav-item {
        margin-left: -30px; /* 延伸到sidebar左边缘 */
        margin-right: -30px; /* 延伸到sidebar右边缘 */
        padding-left: 30px; /* 保持内容内边距 */
        padding-right: 30px; /* 保持内容内边距 */
        border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
        padding-bottom: 15px; /* 添加底部内边距 */
        margin-bottom: 15px; /* 保持间距 */
    }

    .sidebar-nav-link {
        font-size: 16px;
        padding: 15px 0;
        border-bottom: none; /* 移除分隔线 */
        margin: 0; /* 移除负边距 */
        padding-left: 0; /* 移除左侧内边距 */
        padding-right: 0; /* 移除右侧内边距 */
    }

    .sidebar-submenu-link {
        font-size: 14px;
        padding: 8px 0 8px 20px; /* 调整子菜单内边距 */
        border-bottom: none; /* 移除分隔线 */
    }

    /* 移动端子菜单优化 - 图片样式 */
    .sidebar-submenu {
        margin: 0; /* 移除负边距 */
        padding: 0; /* 移除内边距 */
        background: transparent; /* 移除背景色 */
    }

    .sidebar-submenu.active {
        max-height: 500px; /* 增加最大高度以显示更多内容 */
    }
    
    /* 移动端 sidebar 头部 - 移除分隔线 */
    .sidebar-header {
        margin-left: 0; /* 移除负边距 */
        margin-right: 0; /* 移除负边距 */
        padding-left: 0; /* 移除内边距 */
        padding-right: 0; /* 移除内边距 */
        border-bottom: none; /* 移除底部边框 */
    }

    /* 下拉菜单移动端隐藏 */
    .dropdown {
        display: none !important;
    }

    /* 确保移动端sidebar 80%屏幕宽度 - 额外保障 */
    @media (max-width: 768px) {
        .sidebar {
            left: auto !important; /* 重置left属性 */
            right: -80vw !important; /* 使用80vw隐藏 */
            transform: none !important; /* 移除transform */
        }
        
        .sidebar.active {
            right: 0 !important; /* 使用right显示 */
            transform: none !important; /* 移除transform */
        }
    }

    /* 搜索覆盖层移动端样式 */
    .search-overlay-header {
        padding: 15px 20px;
    }

    .search-main-content {
        padding: 40px 20px;
        max-width: 100%;
    }

    .search-overlay-input {
        font-size: 16px;
    }

    .suggestions-title {
        font-size: 15px;
    }

    .suggestion-item {
        font-size: 13px;
        padding: 8px 0;
    }
}

/* 超小屏幕样式 */
@media (max-width: 480px) {
    /* Top Bar 超小屏幕 - 保持高度 */
    .topbar {
        padding: 10px 0; /* 从 6px 增加到 10px */
        min-height: 36px;
    }
    
    .topbar-container {
        min-height: 36px;
    }
    
    .topbar-text {
        font-size: 10px;
        letter-spacing: 0.1px;
    }

    /* Header 超小屏幕 */
    .header {
        padding: 12px 30px;
        position: fixed; /* 保持固定定位 */
        top: 50px; /* 保持默认位置 */
        transition: top 0.3s ease; /* 添加过渡动画 */
    }
    
    /* Header 在topbar隐藏时的位置 - 超小屏幕 */
    .header.topbar-hidden {
        top: 0; /* topbar隐藏时，header移到顶部 */
    }

    .logo-image {
        height: 28px;
        max-width: 100px;
        min-width: 70px;
    }

    .header-actions {
        gap: 15px; /* 减少间距 */
    }

    /* 搜索按钮超小屏幕 */
    .search-button {
        width: 40px; /* 稍微小一点 */
        height: 40px;
    }

    .search-button .icon {
        width: 40px;
        height: 40px;
    }

    /* 侧边栏按钮超小屏幕 - 优化两条线 */
    .sidebar-toggle {
        width: 20px; /* 减少宽度，让线条更短 */
        height: 12px; /* 增加高度，让间距更小 */
    }

    .hamburger-line {
        height: 2px; /* 保持与桌面端一致 */
    }

    /* 超小屏幕 sidebar-toggle 激活状态 - 变成真正的X形状 - 强制优先级 */
    button.sidebar-toggle.active,
    .header-actions .sidebar-toggle.active,
    #sidebarToggle.active {
        width: 24px !important; /* 关闭按钮稍微大一点 */
        height: 24px !important; /* 关闭按钮稍微大一点 */
        position: relative !important;
        display: flex !important;
        flex-direction: row !important; /* 重置为行方向 */
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        color: #333 !important;
    }

    button.sidebar-toggle.active .hamburger-line:nth-child(1),
    .header-actions .sidebar-toggle.active .hamburger-line:nth-child(1),
    #sidebarToggle.active .hamburger-line:nth-child(1) {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
        width: 20px !important; /* X 线条更长 */
        height: 2px !important;
        background-color: currentColor !important;
    }

    button.sidebar-toggle.active .hamburger-line:nth-child(2),
    .header-actions .sidebar-toggle.active .hamburger-line:nth-child(2),
    #sidebarToggle.active .hamburger-line:nth-child(2) {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(-45deg) !important;
        width: 20px !important; /* X 线条更长 */
        height: 2px !important;
        background-color: currentColor !important;
    }

    .sidebar {
        padding: 30px; /* 保持与桌面端一致 */
    }

    .sidebar-header {
        margin-left: -30px; /* 延伸到sidebar左边缘 */
        margin-right: -30px; /* 延伸到sidebar右边缘 */
        padding-left: 30px; /* 保持内容内边距 */
        padding-right: 30px; /* 保持内容内边距 */
        border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .sidebar-title {
        font-size: 18px; /* 保持与桌面端一致 */
        font-weight: bold; /* 保持与桌面端一致 */
    }

    .sidebar-nav-item {
        margin-left: -30px; /* 延伸到sidebar左边缘 */
        margin-right: -30px; /* 延伸到sidebar右边缘 */
        padding-left: 30px; /* 保持内容内边距 */
        padding-right: 30px; /* 保持内容内边距 */
        border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
        padding-bottom: 15px; /* 添加底部内边距 */
        margin-bottom: 15px; /* 保持间距 */
    }

    .sidebar-nav-link {
        font-size: 16px;
        padding: 15px 0;
        border-bottom: none; /* 移除分隔线 */
        margin: 0; /* 移除负边距 */
        padding-left: 0; /* 移除左侧内边距 */
        padding-right: 0; /* 移除右侧内边距 */
    }

    .sidebar-submenu-link {
        font-size: 14px;
        padding: 8px 0 8px 20px; /* 调整子菜单内边距 */
        border-bottom: none; /* 移除分隔线 */
    }

    /* 超小屏幕子菜单优化 - 图片样式 */
    .sidebar-submenu {
        margin: 0; /* 移除负边距 */
        padding: 0; /* 移除内边距 */
        background: transparent; /* 移除背景色 */
    }

    .sidebar-submenu.active {
        max-height: 500px; /* 增加最大高度以显示更多内容 */
    }
}

/* 极小屏幕样式 */
@media (max-width: 360px) {
    .topbar {
        padding: 8px 0;
        min-height: 32px;
    }
    
    .topbar-container {
        min-height: 32px;
    }
    
    .topbar-text {
        font-size: 9px;
    }

    .header {
        padding: 10px 12px;
        position: fixed; /* 保持固定定位 */
        top: 40px; /* 保持默认位置 */
        transition: top 0.3s ease; /* 添加过渡动画 */
    }
    
    /* Header 在topbar隐藏时的位置 - 极小屏幕 */
    .header.topbar-hidden {
        top: 0; /* topbar隐藏时，header移到顶部 */
    }

    .logo-image {
        height: 26px;
        max-width: 90px;
        min-width: 60px;
    }

    .header-actions {
        gap: 12px;
    }

    .search-button {
        width: 22px;
        height: 22px;
    }

    .search-button .icon {
        width: 18px;
        height: 18px;
    }

    .sidebar-toggle {
        width: 20px; /* 减少宽度，让线条更短 */
        height: 20px; /* 增加高度，让间距更小 */
    }

    .hamburger-line {
        height: 2px; /* 保持与桌面端一致 */
    }

    /* 极小屏幕 sidebar-toggle 激活状态 - 变成真正的X形状 - 强制优先级 */
    button.sidebar-toggle.active,
    .header-actions .sidebar-toggle.active,
    #sidebarToggle.active {
        width: 24px !important; /* 关闭按钮稍微大一点 */
        height: 24px !important; /* 关闭按钮稍微大一点 */
        position: relative !important;
        display: flex !important;
        flex-direction: row !important; /* 重置为行方向 */
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        color: #333 !important;
    }

    button.sidebar-toggle.active .hamburger-line:nth-child(1),
    .header-actions .sidebar-toggle.active .hamburger-line:nth-child(1),
    #sidebarToggle.active .hamburger-line:nth-child(1) {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
        width: 20px !important; /* X 线条更长 */
        height: 2px !important;
        background-color: currentColor !important;
    }

    button.sidebar-toggle.active .hamburger-line:nth-child(2),
    .header-actions .sidebar-toggle.active .hamburger-line:nth-child(2),
    #sidebarToggle.active .hamburger-line:nth-child(2) {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotate(-45deg) !important;
        width: 20px !important; /* X 线条更长 */
        height: 2px !important;
        background-color: currentColor !important;
    }

    /* 极小屏幕 sidebar 优化 - 保持与桌面端一致 */
    .sidebar {
        padding: 30px; /* 保持与桌面端一致 */
    }

    .sidebar-header {
        margin-left: -30px; /* 延伸到sidebar左边缘 */
        margin-right: -30px; /* 延伸到sidebar右边缘 */
        padding-left: 30px; /* 保持内容内边距 */
        padding-right: 30px; /* 保持内容内边距 */
        border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .sidebar-title {
        font-size: 18px; /* 保持与桌面端一致 */
        font-weight: bold; /* 保持与桌面端一致 */
    }

    .sidebar-nav-item {
        margin-left: -30px; /* 延伸到sidebar左边缘 */
        margin-right: -30px; /* 延伸到sidebar右边缘 */
        padding-left: 30px; /* 保持内容内边距 */
        padding-right: 30px; /* 保持内容内边距 */
        border-bottom: 1px solid #e6e6e6; /* 添加底部线条 */
        padding-bottom: 15px; /* 添加底部内边距 */
        margin-bottom: 15px; /* 保持间距 */
    }

    .sidebar-nav-link {
        font-size: 16px;
        padding: 15px 0;
        border-bottom: none; /* 移除分隔线 */
        margin: 0; /* 移除负边距 */
        padding-left: 0; /* 移除左侧内边距 */
        padding-right: 0; /* 移除右侧内边距 */
    }

    .sidebar-submenu-link {
        font-size: 14px;
        padding: 8px 0 8px 20px; /* 调整子菜单内边距 */
        border-bottom: none; /* 移除分隔线 */
    }

    /* 极小屏幕子菜单优化 - 图片样式 */
    .sidebar-submenu {
        margin: 0; /* 移除负边距 */
        padding: 0; /* 移除内边距 */
        background: transparent; /* 移除背景色 */
    }

    .sidebar-submenu.active {
        max-height: 500px; /* 增加最大高度以显示更多内容 */
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .topbar {
        padding: 8px 0;
        min-height: 32px;
    }
    
    .topbar-container {
        min-height: 32px;
    }
    
    .header {
        padding: 10px 20px;
    }
    
    .logo-image {
        height: 28px;
        max-width: 100px;
    }
}

/* 触摸设备优化 */
@media (max-width: 768px) and (pointer: coarse) {
    .sidebar-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .suggestion-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* 移动端Hero图片高度调整 */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh; /* 移动端设置固定高度 */
        min-height: 300px; /* 最小高度保证 */
        max-height: 400px; /* 最大高度限制 */
    }
    
    .hero-full-image {
        width: 100%;
        height: 100%; /* 填满整个容器 */
        object-fit: cover; /* 保持比例裁剪 */
        object-position: center;
    }
}

/* 中等屏幕调整 */
@media (max-width: 992px) and (min-width: 769px) {
    .about-hero {
        height: 45vh;
        min-height: 280px;
    }
}

/* 小屏幕调整 */
@media (max-width: 480px) {
    .about-hero {
        height: 45vh; /* 稍微降低一点 */
        min-height: 250px;
        max-height: 350px;
    }
}

/* 超小屏幕调整 */
@media (max-width: 360px) {
    .about-hero {
        height: 40vh;
        min-height: 200px;
        max-height: 300px;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .about-hero {
        height: 60vh; /* 横屏时更高 */
        min-height: 200px;
    }
}



/* 搜索加载和结果样式 */
#searchLoading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: transparent;
    color: #666;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    position: relative;
}

#searchLoading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#searchNoResults {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: transparent;
    text-align: center;
}

#searchNoResults p {
    font-size: 18px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

#noResultsQuery {
    color: #ff6b35;
    font-weight: 600;
    font-style: italic;
}

/* 搜索加载和结果的响应式样式 */
@media (max-width: 768px) {
    #searchLoading {
        padding: 40px 15px;
        font-size: 16px;
    }
    
    #searchLoading::before {
        width: 16px;
        height: 16px;
        margin-bottom: 10px;
    }
    
    #searchNoResults {
        padding: 40px 15px;
    }
    
    #searchNoResults p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #searchLoading {
        padding: 30px 10px;
        font-size: 14px;
    }
    
    #searchLoading::before {
        width: 14px;
        height: 14px;
        margin-bottom: 8px;
    }
    
    #searchNoResults {
        padding: 30px 10px;
    }
    
    #searchNoResults p {
        font-size: 14px;
    }
}

/* ========================================
   移动端独立搜索框样式
   ======================================== */

/* 移动端搜索框 - 只在移动端显示，默认隐藏 */
.mobile-search-bar {
    display: none; /* 默认隐藏 */
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 20px;
    position: fixed;
    top: 104px; /* header下方 */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 当topbar隐藏时，移动端搜索框调整位置 */
.mobile-search-bar.topbar-hidden {
    top: 66px; /* 只减去header的高度 */
}

.mobile-search-container {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-search-icon {
    width: 20px;
    height: 20px;
    fill: #333;
    margin-right: 12px;
    flex-shrink: 0;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
    font-weight: 400;
    padding: 8px 0;
    line-height: 1.4;
}

.mobile-search-input::placeholder {
    color: #999;
    font-weight: 300;
}

/* 移动端搜索框显示条件 - 通过JavaScript控制，CSS只负责样式 */
@media (max-width: 768px) {
    .mobile-search-bar {
        display: none; /* 移动端默认隐藏 */
    }
    
    .mobile-search-bar.show {
        display: block !important; /* 只有添加show类时才显示 */
    }
}

/* 桌面端强制隐藏移动端搜索框 */
@media (min-width: 769px) {
    .mobile-search-bar {
        display: none !important;
    }
}

/* 移动端搜索框响应式调整 */
@media (max-width: 480px) {
    .mobile-search-bar {
        padding: 12px 15px;
    }
    
    .mobile-search-icon {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .mobile-search-input {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .mobile-search-bar {
        padding: 10px 12px;
    }
    
    .mobile-search-icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .mobile-search-input {
        font-size: 14px;
    }
}

/* 移动端搜索框激活状态 */
.mobile-search-bar.active {
    background: #f8f9fa;
    border-bottom-color: #ff6b35;
}

.mobile-search-bar.active .mobile-search-icon {
    fill: #ff6b35;
}

.mobile-search-bar.active .mobile-search-input {
    color: #333;
}

/* 移动端搜索框焦点状态 */
.mobile-search-input:focus {
    color: #333;
}

.mobile-search-input:focus::placeholder {
    color: #ccc;
}

/* 移动端搜索结果容器 */
.mobile-search-results {
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 移动端搜索加载状态 */
.mobile-search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 移动端搜索无结果状态 */
.mobile-search-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.mobile-search-no-results p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

#mobileNoResultsQuery {
    color: #ff6b35;
    font-weight: 600;
    font-style: italic;
}

/* 移动端搜索结果列表 */
.mobile-search-results-list {
    padding: 0;
}

.mobile-results-container {
    padding: 0;
}

/* 移动端搜索结果卡片 */
.mobile-result-card {
    background: #fafafa;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e6e6e6;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.mobile-result-card:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: inherit;
}

.mobile-result-card:last-child {
    border-bottom: none;
}

/* 移动端搜索结果卡片内容 */
.mobile-result-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
}

.mobile-result-image {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.mobile-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.mobile-result-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-result-model {
    font-size: 12px;
    color: #666;
    margin: 0 0 4px 0;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.mobile-result-price {
    display: none;
    font-size: 14px;
    font-weight: 600;
    color: #ff6b35;
    margin: 0;
}

/* 确保移动端搜索框在正确的层级 */
.mobile-search-bar {
    z-index: 1000;
}

/* 移动端搜索框与header的间距优化 */
@media (max-width: 768px) {
    .mobile-search-bar {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-search-bar {
        padding: 10px 20px;
    }
    
    .mobile-search-icon {
        width: 18px;
        height: 18px;
    }
    
    .mobile-search-input {
        font-size: 15px;
    }
    
    .mobile-search-results {
        max-height: 50vh;
    }
}

/* 覆盖浏览器默认的链接下划线样式 */
.nav-item[data-dropdown="recommend"] .blog-card-link,
.nav-item[data-dropdown="recommend"] .blog-card-link:-webkit-any-link,
.nav-item[data-dropdown="recommend"] .blog-card-link:any-link {
    text-decoration: none !important;
    color: inherit !important;
}

.nav-item[data-dropdown="recommend"] .blog-card-link:hover,
.nav-item[data-dropdown="recommend"] .blog-card-link:-webkit-any-link:hover,
.nav-item[data-dropdown="recommend"] .blog-card-link:any-link:hover {
    text-decoration: none !important;
}

.nav-item[data-dropdown="recommend"] .blog-card-link:focus,
.nav-item[data-dropdown="recommend"] .blog-card-link:-webkit-any-link:focus,
.nav-item[data-dropdown="recommend"] .blog-card-link:any-link:focus {
    text-decoration: none !important;
}

.nav-item[data-dropdown="recommend"] .blog-card-link:visited,
.nav-item[data-dropdown="recommend"] .blog-card-link:-webkit-any-link:visited,
.nav-item[data-dropdown="recommend"] .blog-card-link:any-link:visited {
    text-decoration: none !important;
}

/* 确保博客卡片内部所有链接都没有下划线 */
.nav-item[data-dropdown="recommend"] .blog-card a,
.nav-item[data-dropdown="recommend"] .blog-card a:-webkit-any-link,
.nav-item[data-dropdown="recommend"] .blog-card a:any-link {
    text-decoration: none !important;
    color: inherit !important;
}


/* 移动端搜索结果 - 调整样式匹配图片 */
.mobile-search-results {
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1002;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-results-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem; /* 卡片之间的间距 */
}

/* 移动端搜索结果卡片 - 调整背景色和布局 */
.mobile-result-card {
    background: #fafafa; /* 产品卡背景色 */
    margin: 0;
    padding: 0;
    border-bottom: none; /* 移除边框，使用gap间距 */
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    width: 100%;
}

.mobile-result-card:hover {
    background: #f5f5f5; /* 悬停时稍微深一点 */
    text-decoration: none;
    color: inherit;
}

.mobile-result-card:last-child {
    border-bottom: none;
}

/* 移动端搜索结果卡片内容布局 */
.mobile-result-content {
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    width: 100%;
    background: #fafafa;
}

/* 产品图片区域 */
.mobile-result-image {
    width: 100%;
    height: 250px; /* 固定高度 */
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.mobile-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mobile-result-card:hover .mobile-result-image img {
    transform: scale(1.02);
}

/* 产品标签 - HOT/NEW/SALE */
.mobile-result-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.mobile-result-label.hot {
    background: #ff6b35;
    color: #ffffff;
}

.mobile-result-label.new {
    background: #000000;
    color: #ffffff;
}

.mobile-result-label.sale {
    background: #28a745;
    color: #ffffff;
}

/* 产品信息区域 - 调整布局 */
.mobile-result-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fafafa; /* 与卡片背景色一致 */
}

/* 型号和色卡同一行 - 新增布局 */
.mobile-result-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* 产品型号/名称 */
.mobile-result-model {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 产品描述和价格同一行 - 新增布局 */
.mobile-result-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

/* 产品描述 */
.mobile-result-name {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 20px; /* 为价格留出空间 */
}

/* 兼容性信息 */
.mobile-result-compatibility {
    font-size: 12px;
    font-weight: 500;
    color: #888888;
    margin: 0;
    margin-top: 4px;
}

/* 价格区域 */
.mobile-result-price {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    white-space: nowrap; /* 防止价格换行 */
}

/* 颜色选择区域 */
.mobile-result-color-swatches {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}



.mobile-result-color-swatch.white {
    border: 2px solid #ddd;
    background: #ffffff;
}

.mobile-result-color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .mobile-result-image {
        height: 220px;
    }
    
    .mobile-result-info {
        padding: 18px;
        gap: 10px;
    }
    
    .mobile-result-model {
        font-size: 15px;
    }
    
    .mobile-result-name {
        font-size: 13px;
    }
    
    .mobile-result-compatibility {
        font-size: 11px;
    }
    
    .mobile-result-price {
        font-size: 15px;
    }
    
    .mobile-result-color-swatch {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .mobile-result-image {
        height: 200px;
    }
    
    .mobile-result-info {
        padding: 15px;
        gap: 8px;
    }
    
    .mobile-result-model {
        font-size: 14px;
    }
    
    .mobile-result-name {
        font-size: 12px;
    }
    
    .mobile-result-compatibility {
        font-size: 10px;
    }
    
    .mobile-result-price {
        font-size: 14px;
    }
    
    .mobile-result-color-swatch {
        width: 16px;
        height: 16px;
    }
}

/* 确保移动端搜索框的层级 */
.mobile-search-bar {
    z-index: 1001;
}

.mobile-search-results {
    z-index: 1002;
}

/* 移动端搜索加载和无结果状态优化 */
.mobile-search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
    background: #ffffff;
    min-height: 200px;
}

.mobile-search-loading::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

.mobile-search-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    min-height: 200px;
}

.mobile-search-no-results p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

#mobileNoResultsQuery {
    color: #ff6b35;
    font-weight: 600;
    font-style: italic;
}

/* 动画效果 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* 确保色卡可以点击 */
.search-result-color-swatch,
.mobile-result-color-swatch {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

/* 确保色卡在悬停时有视觉反馈 */
.search-result-color-swatch:hover,
.mobile-result-color-swatch:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* 选中状态的样式 */
/*.search-result-color-swatch.selected,*/
/*.mobile-result-color-swatch.selected {*/
/*    border: 2px solid #ff6b35 !important;*/
/*    transform: scale(1.1);*/
/*}*/