:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-lighter: #60a5fa;
    --primary-bg: #f0f7ff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(37, 99, 235, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(37, 99, 235, 0.08), 0 2px 4px -2px rgba(37, 99, 235, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -4px rgba(37, 99, 235, 0.05);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --primary-light: #93c5fd;
    --primary-lighter: #bfdbfe;
    --primary-bg: #1e3a8a;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    overflow: visible;
}

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

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    min-width: 0;
    height: 70px;
    overflow: visible;
}

.header-brand {
    flex-shrink: 0;
    min-width: 0;
}

.header-brand a {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 1;
    min-width: 0;
}

.header-logo-img {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.header-logo-text {
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-shrink: 1;
    min-width: 0;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

.nav-link svg {
    transition: transform var(--transition-fast);
}

.submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10000;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu-item {
    position: relative;
    padding: 0.25rem 0;
}

.submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.submenu-link:hover {
    color: var(--primary-color);
    background-color: var(--primary-bg);
}

.submenu-item.has-grandchildren .submenu-link:hover {
    background-color: var(--bg-secondary);
}

.grandmenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 10001;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

.submenu-item.has-grandchildren:hover .grandmenu {
    opacity: 1;
    visibility: visible;
}

.grandmenu-link {
    display: block;
    padding: 0.625rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.grandmenu-link:hover {
    color: var(--primary-color);
    background-color: var(--primary-bg);
}

[data-theme="dark"] .submenu,
[data-theme="dark"] .grandmenu {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .submenu-link,
[data-theme="dark"] .grandmenu-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .submenu-link:hover,
[data-theme="dark"] .grandmenu-link:hover {
    background-color: var(--bg-tertiary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    background-color: var(--bg-tertiary);
    border-radius: 50px;
    padding: 0.4rem 0.75rem;
    transition: all var(--transition-fast);
    min-width: 220px;
    max-width: 350px;
    flex-shrink: 0;
}

.header-search:focus-within {
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.header-search input {
    border: none;
    background: none;
    outline: none;
    padding: 0.25rem 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    flex: 1;
    width: 100%;
}

.header-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    padding: 0.25rem;
    flex-shrink: 0;
}

.header-search button:hover {
    color: var(--primary-color);
}

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

.header-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
}

.lang-btn {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.25rem 0.4rem;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--primary-color);
}

.lang-sep {
    color: var(--border-color);
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.theme-btn:hover {
    color: var(--primary-color);
}

.theme-btn .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-btn .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-btn .moon-icon {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
}

.hero {
    margin-top: 70px;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #f1f5f9;
}

[data-theme="dark"] .hero-title {
    color: #ffffff;
}

[data-theme="dark"] .hero-subtitle {
    color: #dbeafe;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-break: break-word;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
}

[data-theme="dark"] .btn-primary:hover {
    background-color: #2563eb;
}

[data-theme="dark"] .btn-secondary {
    background-color: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.25);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    word-break: break-word;
}

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

.products-layout {
    display: flex;
    gap: 2rem;
}

.products-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.sidebar-section {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-list > li {
    margin-bottom: 0.25rem;
}

.sidebar-category-list li a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.sidebar-category-list li a:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
}

.sidebar-category-list li.active > .category-row > a,
.sidebar-category-list li.active > a {
    background-color: var(--primary-color);
    color: white;
}

/* 大类样式 */
.sidebar-category-list .level-0 > a,
.sidebar-category-list .level-0 .category-row > a {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    padding: 0.625rem 0.75rem;
}

.sidebar-category-list .level-0.active > .category-row > a {
    background-color: var(--primary-color);
    color: white;
}

/* 有子分类的行 */
.sidebar-category-list .category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-category-list .category-row > a {
    flex: 1;
}

.sidebar-category-list .toggle-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    color: var(--text-tertiary);
    border-radius: 4px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.sidebar-category-list .toggle-btn:hover {
    color: var(--primary-color);
    background-color: var(--bg-tertiary);
}

.sidebar-category-list .toggle-btn svg {
    transition: transform var(--transition-fast);
}

.sidebar-category-list li.expanded > .category-row .toggle-btn svg {
    transform: rotate(180deg);
}

/* 子分类列表 */
.sidebar-sublist {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-category-list li.expanded > .sidebar-sublist {
    max-height: 1000px;
}

/* 二级分类 */
.sidebar-sublist .level-1 a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem 0.375rem 1.5rem;
    border-left: 2px solid var(--border-color);
    margin-left: 0.75rem;
}

.sidebar-sublist .level-1.active > a,
.sidebar-sublist .level-1.active > .category-row > a {
    background-color: var(--primary-color);
    color: white;
    border-left-color: var(--primary-color);
}

/* 三级分类 */
.sidebar-sublist .level-2 a {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    padding: 0.375rem 0.75rem 0.375rem 2.5rem;
    border-left: 2px dashed var(--border-color);
    margin-left: 0.75rem;
}

.sidebar-sublist .level-2.active > a,
.sidebar-sublist .level-2.active > .category-row > a {
    background-color: var(--primary-color);
    color: white;
    border-left-color: var(--primary-color);
}

.products-main {
    flex: 1;
    min-width: 0;
}

.product-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.product-image-link, .news-image-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    position: relative;
    height: 200px;
    background-color: var(--bg-tertiary);
    overflow: hidden;
}

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

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

.product-content {
    padding: 1rem 1.25rem;
    text-align: center;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    word-break: break-word;
}

.product-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    word-break: break-word;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    gap: 0.25rem;
    transition: gap var(--transition-fast);
}

.product-link:hover {
    gap: 0.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

.news-image {
    position: relative;
    height: 200px;
    background-color: var(--bg-tertiary);
    overflow: hidden;
    cursor: pointer;
}

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

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

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    gap: 0.25rem;
    margin-top: 1rem;
    transition: gap var(--transition-fast);
}

.news-link:hover {
    gap: 0.5rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.news-list-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color-light);
}

.news-list-image {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

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

.news-list-item:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.news-list-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.125rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 4px;
}

.news-list-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-list-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-list-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-list-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    gap: 0.25rem;
    transition: gap var(--transition-fast);
}

.news-list-link:hover {
    gap: 0.5rem;
}

.about-section {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.about-content li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.about-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.stats-section {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-section {
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-map #baidu-map {
    width: 100%;
    height: 300px;
}

.contact-form {
    flex: 1;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.form-submit:hover {
    background-color: var(--primary-light);
}

.footer {
    background-color: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-slogan {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

.faq-accordion {
    margin-top: 1rem;
}

.faq-item {
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-header {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-primary);
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color var(--transition-fast);
}

.faq-header:hover {
    background-color: var(--bg-tertiary);
}

.faq-header::after {
    content: '+';
    font-size: 1.25rem;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-header::after {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-content p {
    padding: 0 1rem 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section:has(.footer-qrcode) h4 {
    text-align: center;
}

.qrcode-wrapper {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.75rem;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    display: block;
}

.qrcode-label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: center;
}

.qrcode-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
}

.copyright .beian {
    margin-left: 1rem;
}

.copyright .beian a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

.copyright .beian a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1001;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.search-results {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    display: none;
    z-index: 999;
    max-height: 70vh;
    overflow-y: auto;
}

.search-results.show {
    display: block;
}

.search-results-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.search-result-item:hover {
    border-color: var(--primary-color);
}

.search-result-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.search-result-item .search-result-content {
    flex: 1;
}

.search-result-item .search-result-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.search-result-item .search-result-type {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.search-result-item .search-result-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.search-results-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-filter button {
    padding: 0.5rem 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.category-filter button:hover,
.category-filter button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.breadcrumb {
    margin-top: 80px;
    padding: 1rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

.single-product {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

/* 产品轮播 */
.product-carousel {
    flex: 0 0 45%;
    max-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.carousel-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    flex: 1;
}
.carousel-slide {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}
.carousel-slide.active { display: block; }
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-secondary);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-thumbs {
    display: none;
}

/* 资料下载 */
.product-docs-section {
    margin-top: 3rem;
}
.docs-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}
.docs-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.docs-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.docs-panel { display: none; }
.docs-panel.active { display: block; }
.docs-list {
    list-style: none;
    padding: 0;
}
.docs-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}
.docs-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.docs-item a:hover { color: var(--primary-color); }
.docs-item a span { font-size: 0.95rem; }

.single-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-product-content .product-category {
    margin-bottom: 1rem;
}

.single-product-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.single-product-content .product-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    display: block;
    -webkit-line-clamp: unset;
}

.single-product-specs {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.single-product-specs h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.single-product-specs ul {
    list-style: none;
    padding-left: 0;
}

.single-product-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.product-specs-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.product-specs-section .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.product-specs-content {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    line-height: 1.8;
}

.product-specs-content p {
    margin-bottom: 0.75rem;
}

.product-specs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.product-specs-content table td,
.product-specs-content table th {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.product-specs-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.single-news {
    max-width: 800px;
    margin: 0 auto;
}

.single-news .news-category {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
}

.single-news img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.single-news h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.single-news .news-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.news-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.news-gallery-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.single-news .news-content {
    padding: 0;
}

.single-news .news-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.single-news .news-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.single-news .news-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.single-news .news-content li {
    margin-bottom: 0.5rem;
}

.flash-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.flash-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.flash-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

[data-theme="dark"] .flash-success {
    background-color: #14532d;
    color: #86efac;
    border-color: #166534;
}

[data-theme="dark"] .flash-error {
    background-color: #7f1d1d;
    color: #fca5a5;
    border-color: #991b1b;
}

/* 1280px以下压缩桌面导航，确保单行不换行 */
@media (max-width: 1280px) {
    .site-header-inner {
        padding: 0 16px;
        gap: 0.75rem;
    }

    .header-logo-text {
        font-size: 0.9rem;
    }

    .header-logo-img {
        height: 32px;
        max-width: 100px;
    }

    .header-nav {
        flex: 1 1 auto;
        min-width: 0;
        overflow: visible;
    }

    .nav-items {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-search {
        min-width: 140px;
        max-width: 180px;
        padding: 0.3rem 0.6rem;
    }

    .header-search input {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }

    .lang-btn {
        font-size: 0.875rem;
        padding: 0.2rem 0.4rem;
    }

    .header-lang {
        gap: 0.3rem;
        padding: 0.2rem 0.4rem;
    }
}

/* 1024px以下切换为汉堡菜单 */
@media (max-width: 1024px) {
    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        display: none;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 10000;
        flex-direction: column;
    }

    .header-nav.show {
        display: block;
    }

    .nav-items {
        flex-direction: column;
        gap: 0;
        padding-left: 16px;
    }

    .nav-link {
        padding: 0.875rem 0;
        font-size: 0.95rem;
    }

    .nav-link.active::after {
        display: none;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        margin: 0;
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
        display: none;
    }

    .nav-item.has-children.active .submenu {
        display: block;
    }

    .submenu-item {
        padding: 0;
    }

    .submenu-link {
        padding: 0.75rem 1rem 0.75rem 2rem;
        font-size: 0.875rem;
    }

    .grandmenu {
        position: static;
        opacity: 1;
        visibility: visible;
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
        display: none;
    }

    .submenu-item.has-grandchildren.active .grandmenu {
        display: block;
    }

    .grandmenu-link {
        padding: 0.75rem 1rem 0.75rem 3rem;
        font-size: 0.85rem;
    }

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

    .header-search {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        z-index: 1001;
        min-width: 100%;
        max-width: 100%;
    }

    .header-search.show {
        display: flex;
    }

    .header-search input {
        width: 100%;
        flex: 1;
    }

    .header-logo-text {
        font-size: 0.85rem;
    }

    .header-logo-img {
        height: 32px;
        max-width: 100px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .products-sidebar {
        width: 200px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .about-section {
        gap: 2rem;
    }

    .contact-section {
        gap: 2rem;
    }

    .single-product {
        gap: 2rem;
    }
}

/* 手机端自适应 */
@media (max-width: 768px) {
    .site-header-inner {
        padding: 0 16px;
        height: 60px;
    }

    .header-brand a {
        gap: 0.4rem;
    }

    .header-logo-text {
        font-size: 0.7rem;
        white-space: normal;
        line-height: 1.2;
        word-break: break-word;
    }

    .header-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .header-logo-img {
        height: 28px;
        max-width: 80px;
    }

    .header-nav {
        top: 60px;
        max-height: calc(100vh - 60px);
        border-bottom: none;
    }

    .nav-link {
        padding: 0.875rem 0;
    }

    .submenu-link {
        padding: 0.75rem 1rem 0.75rem 2rem;
    }

    .grandmenu-link {
        padding: 0.75rem 1rem 0.75rem 3rem;
    }

    .header-actions {
        gap: 0.375rem;
    }

    .header-search {
        top: 60px;
        max-height: calc(100vh - 60px);
    }

    .hero {
        margin-top: 60px;
        padding: 2.5rem 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        word-break: break-word;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-map #baidu-map {
        height: 250px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

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

    .products-layout {
        flex-direction: column;
    }

    .products-sidebar {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .single-product {
        flex-direction: column;
        gap: 1.5rem;
    }

    .single-product-content h1 {
        font-size: 1.5rem;
    }

    .single-news h1 {
        font-size: 1.5rem;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .search-results {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }

    .breadcrumb {
        margin-top: 60px;
        padding: 0.75rem 0;
    }
}

/* 小屏手机自适应 */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .product-content {
        padding: 1rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .news-content {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}
