/* ===== 全新现代工业风格 - Ti-Metals ===== */
:root {
    --primary: #0a2e5c;
    --primary-dark: #061a36;
    --primary-light: #1a4a7a;
    --accent: #2185b9;
    --accent-light: #4aa3d4;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* ===== 顶部信息栏 ===== */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #ccc; transition: var(--transition); }
.top-bar a:hover { color: var(--accent-light); }
.top-bar .contact-info span { margin-right: 20px; }
.top-bar .contact-info i { color: var(--accent); margin-right: 5px; }
/* ===== 主导航 ===== */
.main-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo img { height: 90px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text h1 {
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}
.logo-text span {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}
/* 主导航菜单 */
.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li:hover > a {
    color: var(--accent);
    background: rgba(33,133,185,0.06);
}
.main-nav > ul > li > a i { font-size: 10px; margin-left: 4px; }
/* 下拉菜单 */
.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 8px 0;
    border: 1px solid var(--border);
}
.main-nav .dropdown li a {
    display: block;
    padding: 8px 20px;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
}
.main-nav .dropdown li a:hover {
    color: var(--accent);
    background: rgba(33,133,185,0.06);
    padding-left: 24px;
}
.main-nav > ul > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
}
.menu-toggle:focus { outline: 2px solid var(--accent); }
/* ===== 英雄轮播 ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}
.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}
.hero-btn:hover {
    background: transparent;
    border-color: #fff;
    transform: translateY(-2px);
}
/* 轮播控制 */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}
.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active { background: #fff; transform: scale(1.2); }
/* ===== 通用区块 ===== */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 12px auto 0;
}
/* ===== 产品分类卡片 ===== */
.category-grid {
    text-align: left;
    font-size: 0;
    margin: -15px;
}
.category-card {
    width: 33.33333%;
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
}
.category-card .cat-box {
    position: relative;
    padding: 30px 20px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin: 15px;
    border-radius: 10px;
    transition: all 0.4s ease;
    display: block;
}
.category-card .cat-box:hover {
    padding: 30px 10px 30px 30px;
    box-shadow: inset 0px 0px 0px 7px #f4f4f4;
}
.category-card .cat-inner {
    position: relative;
    padding-left: 100px;
    min-height: 90px;
}
.category-card .cat-inner img {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
    transition: all 0.4s ease;
}
.category-card .cat-box:hover .cat-inner img {
    transform: scale(1.08);
}
.category-card .cat-inner h3 {
    font-size: 18px;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}
.category-card .cat-inner h3:hover {
    color: #2185b9;
}
.category-card .cat-inner p {
    padding-top: 10px;
    border-top: 1px solid #f4f4f4;
    font-size: 14px;
    text-align: left;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
/* ===== 产品网格 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
/* 产品列表页使用3列（区别于首页的4列） */
.product-grid.products-grid {
    grid-template-columns: repeat(3, 1fr);
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-card .prod-img {
    height: 200px;
    overflow: hidden;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card .prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .prod-img img { transform: scale(1.05); }
.product-card .prod-info {
    padding: 16px 20px 20px;
}
.product-card .prod-info h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 600;
}
.product-card .prod-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}
.product-card .prod-info .prod-btn {
    display: inline-block;
    padding: 6px 18px;
    font-size: 13px;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50px;
    transition: var(--transition);
}
.product-card .prod-info .prod-btn:hover {
    background: var(--accent);
    color: #fff;
}
/* ===== 关于我们简览 ===== */
.about-section {
    background: var(--primary);
    color: #fff;
}
.about-section .section-title h2 { color: #fff; }
.about-section .section-title h2::after { background: var(--accent-light); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-grid .about-text { font-size: 15px; line-height: 1.8; opacity: 0.9; }
.about-grid .about-text p { margin-bottom: 16px; }
.about-grid .about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.stat-card {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.stat-card .stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-light);
}
.stat-card .stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}
/* ===== 页脚 ===== */
.main-footer {
    background: var(--primary-dark);
    color: #ccc;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: #999;
    font-size: 14px;
    transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
}
/* ===== 面包屑 ===== */
.breadcrumb {
    background: var(--primary);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.breadcrumb h1 { font-size: 32px; margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: var(--accent-light); }
/* ===== 响应式 ===== */
/* ===== 产品详情页 ===== */
.product-detail {
    padding: 0 0 60px 0;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.product-detail-img {
    border: 1px solid #e8e8e8;
    border-radius: var(--radius);
    padding: 20px;
    background: #fff;
    text-align: center;
}
.product-detail-img a {
    display: block;
    cursor: zoom-in;
}
.product-detail-img img {
    width: 340px;
    height: 340px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}
.product-detail-info h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}
.product-detail-info .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.product-detail-info .meta span {
    background: rgba(33,133,185,0.08);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}
.product-detail-info .description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}
.product-detail-info .features {
    margin-bottom: 24px;
}
.product-detail-info .features h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 12px;
}
.product-detail-info .features ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}
.product-detail-info .features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.product-detail-info .inquiry-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.product-detail-info .inquiry-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}
/* ===== 页面Hero ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}
.page-hero p {
    font-size: 16px;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
/* ===== 页面布局(左侧栏+主内容) ===== */
.page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.page-main {
    flex: 1;
    min-width: 0;
}
.page-sidebar {
    width: 280px;
    flex-shrink: 0;
}
/* ===== 侧边栏 ===== */
.sidebar-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #eef2f7;
}
.sidebar-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-box h3 i {
    color: var(--accent);
    font-size: 14px;
}
/* 侧边栏链接 */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-links li {
    border-bottom: 1px solid #f0f2f5;
}
.sidebar-links li:last-child {
    border-bottom: none;
}
.sidebar-links a {
    display: block;
    padding: 10px 0;
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 14px;
}
.sidebar-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 12px;
    top: 10px;
}
.sidebar-links a:hover,
.sidebar-links a.active {
    color: var(--accent);
    padding-left: 18px;
}
/* 侧边栏联系方式 */
.sidebar-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-contact li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-contact li i {
    width: 16px;
    color: var(--accent);
    font-size: 14px;
    text-align: center;
}
.sidebar-contact a {
    color: var(--text-light);
    text-decoration: none;
}
.sidebar-contact a:hover {
    color: var(--accent);
}
/* ===== 侧边栏热门产品 ===== */
.sidebar-hot {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    background: #f8fafc;
}
.hot-item:hover {
    background: rgba(33,133,185,0.06);
}
.hot-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hot-name {
    flex: 1;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.3;
}
.hot-more {
    font-size: 11px;
    color: var(--accent);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 2px;
}
.hot-more i {
    font-size: 10px;
}
.hot-item:hover .hot-more {
    color: var(--primary);
}
/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.inquiry-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.inquiry-form h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--primary);
}
.inner-message-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.inner-message-box {
    width: 100%;
}
.inner-message-half {
    width: calc(50% - 8px);
}
.inner-message-box input,
.inner-message-half input,
.inner-message-box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.inner-message-box input:focus,
.inner-message-half input:focus,
.inner-message-box textarea:focus {
    border-color: var(--accent);
}
.btn-text {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-text:hover {
    background: var(--accent-dark, #c0392b);
}
/* ===== Mobile Responsive Fixes ===== */

/* ====== Tablet (max-width: 992px) ====== */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-section { height: 450px; }
    .hero-content h2 { font-size: 32px; }
}

/* ====== Mobile (max-width: 768px) ====== */
@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .hero-section { height: 180px; }
    .hero-content h2 { font-size: 18px; margin-bottom: 8px; }
    .hero-content p { font-size: 12px; margin-bottom: 14px; display: none; }
    .hero-btn { padding: 6px 16px; font-size: 12px; }
    .hero-dots { bottom: 12px; gap: 8px; }
    .hero-dot { width: 10px; height: 10px; }
    .section { padding: 25px 0; }
    .section-title { margin-bottom: 18px; padding: 0 10px; }
    .section-title h2 { font-size: 18px; word-break: break-word; overflow-wrap: break-word; display: block !important; width: 100% !important; margin-bottom: 8px; }
    .section-title h2::after { width: 40px; height: 2px; margin: 8px auto 0; }
    .section-title p { font-size: 13px; display: none; }
    .container { padding: 0 15px; max-width:100%; width:100%}
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card .prod-img { height: 120px; }
    .product-card .prod-info { padding: 8px 10px; }
    .product-card .prod-info h4 { font-size: 12px; }
    .product-card .prod-info p { display: none; }
    .category-card { width: 50%; display: inline-block; vertical-align: top; }
    .category-card .cat-box { padding: 10px 8px; margin: 4px; }
    .category-card .cat-inner { padding-left: 0; text-align: center; min-height: auto; }
    .category-card .cat-inner img { position: static; max-width: 40px; max-height: 40px; margin: 0 auto 4px; display: block; }
    .category-card .cat-inner h3 { font-size: 12px; }
    .category-card .cat-inner p { display: none; }
    .page-layout { flex-direction: column; }
    .page-sidebar { width: 100%; }
    .page-main { width: 100%; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-grid .about-text { font-size: 14px; }
    .stat-card { padding: 16px; }
    .stat-card .stat-num { font-size: 28px; }
    .news-layout { flex-direction: column; }
    .news-sidebar { width: 100%; }
    .nl-item { flex-direction: column; }
    .nl-img { width: 100%; height: 160px; }
    .product-detail .row { flex-direction: column; }
    .product-detail .col-md-5, .product-detail .col-md-7 { width: 100%; }
    .product-detail-img img { width: 100%; height: auto; max-height: 250px; }
    .product-detail-info h1 { font-size: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .gr {grid-template-columns: 1fr !important; }
    .breadcrumb { padding: 20px 15px; }
    .breadcrumb h1 { font-size: 20px; }
    .page-hero { padding: 40px 0; }
    .page-hero h1 { font-size: 22px; }
    .menu-toggle { display: inline-block; }
    .header-top .contact a { font-size: 10px; }
    .header-top .contact { gap: 4px; }
    #fixedMenu .header-logo a img { max-height: 40px; }
}

/* ====== Small Mobile (max-width: 480px) ====== */
@media (max-width: 480px) {
    .hero-section { height: 150px; }
    .hero-content h2 { font-size: 15px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; }
    .product-card .prod-img { height: 100px; }
    .product-card .prod-info h4 { font-size: 11px; }
    .category-card { width: 50%; }
    .category-card .cat-box { padding: 8px 6px; margin: 3px; }
    .section { padding: 18px 0; }
    .section-title { margin-bottom: 12px; }
    .section-title h2 { font-size: 16px; display: block !important; width: 100% !important; }
}
/* ===== ZHX 手机菜单修复(仅移动端) ===== */
@media (max-width:768px){
  /* 内联样式已隐藏，open时强制显示 */
  .main-nav.open{
    display:block!important;
    position:fixed;
    top:0;left:0;
    width:80%;
    height:100%;
    background:#fff;
    z-index:99999;
    padding-top:56px;
    overflow-y:auto;
    box-shadow:2px 0 12px rgba(0,0,0,.25);
  }
  /* 手机菜单内部重置 */
  .main-nav.open > ul{
    display:block!important;
    flex-direction:column;
  }
  .main-nav.open > ul > li{
    display:block!important;
    border-bottom:1px solid #eee;
  }
  .main-nav.open > ul > li > a{
    display:block!important;
    padding:14px 20px;
    font-size:15px;
    color:#333;
    font-weight:600;
    text-transform:none;
    white-space:normal;
  }
  /* 下拉子菜单在手机上折叠显示 */
  .main-nav.open > ul > li > ul{
    display:none!important;
    position:static!important;
    background:#f5f5f5!important;
    box-shadow:none!important;
    min-width:auto!important;
  }
  .main-nav.open > ul > li.open > ul{
    display:block!important;
  }
  .main-nav.open .arrow{
    display:inline-block!important;
    float:right;
  }
  /* 确保汉堡按钮可点 */
  .menu-toggle{display:block!important;position:relative;z-index:10001;}
}
/* 桌面保持原样(明确声明防继承) */
@media (min-width:769px){
  .main-nav{display:flex!important}
  .menu-toggle{display:none!important}
}