/* ============ 全局重置 ============ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
    --primary: #c0392b;
    --primary-dark: #a93226;
    --primary-light: #e74c3c;
    --secondary: #2c3e50;
    --accent: #e67e22;
    --bg: #f8f9fa;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #e0e0e0;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --shadow: 0 2px 8px rgba(0,0,0,.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,.12);
    --radius: 6px;
    --radius-lg: 10px;
    --header-h: 60px;
}
html { font-size:16px; scroll-behavior:smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width:100%; height:auto; display:block; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ============ 顶部导航 ============ */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.logo-img { max-height: 40px; width: auto; }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { color: var(--text); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: all .2s; }
.main-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* 导航下拉菜单 */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown .nav-parent { cursor: default; }
.nav-dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff; min-width: 140px; box-shadow: 0 4px 12px rgba(0,0,0,.12);
    border-radius: 0 0 var(--radius) var(--radius); z-index: 1001;
    padding: 8px 0;
}
.nav-dropdown-menu a {
    display: block; padding: 8px 16px; border-bottom: none; font-size: .9rem;
}
.nav-dropdown-menu a:hover { background: #f8f8f8; color: var(--primary); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.bookmark-btn {
    background: var(--accent); color: #fff; border: none;
    padding: 8px 14px; border-radius: var(--radius); cursor: pointer;
    font-size: .9rem; font-weight: 500; transition: all .2s;
}
.bookmark-btn:hover { background: #d68910; }
.menu-toggle {
    display: none; background: none; border: none;
    font-size: 1.5rem; cursor: pointer; padding: 5px;
}

/* ============ 消息提示 ============ */
.flash-container { max-width:1200px; margin:10px auto; padding:0 20px; }
.flash { padding:12px 16px; border-radius:var(--radius); margin-bottom:8px; transition:opacity .5s; }
.flash-success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.flash-error { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }
.flash-info { background:#d1ecf1; color:#0c5460; border:1px solid #bee5eb; }
.flash-warning { background:#fff3cd; color:#856404; border:1px solid #ffeaa7; }

/* ============ Banner ============ */
.banner-section { width:100%; overflow:hidden; }
.banner-image { width:100%; height:auto; max-height:300px; object-fit:cover; display:block; }
.banner-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff; text-align: center; padding: 60px 20px;
}
.banner-placeholder h1 { font-size: 2rem; margin-bottom: 10px; }
.banner-placeholder p { font-size: 1.1rem; opacity: .9; }

/* ============ 区块标题 ============ */
.section-title {
    text-align: center; font-size: 1.6rem; margin-bottom: 30px;
    color: var(--secondary); position: relative; padding-bottom: 12px;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: var(--primary); border-radius: 2px;
}

/* ============ 分类卡片 ============ */
.categories-section { padding: 50px 0; }
.categories-section.compact { padding: 18px 0; }  /* v3.3.6: 压缩高度 */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.category-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 10px; }  /* v3.3.6 */
.category-card {
    background: #fff; border-radius: var(--radius-lg); padding: 20px;
    text-align: center; box-shadow: var(--shadow); transition: all .3s;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.category-card.compact { padding: 10px 8px; gap: 4px; }  /* v3.3.6 */
.category-card.compact .category-img { height: 40px; }  /* v3.3.6 */
.category-card.compact .category-icon { width:40px; height:40px; font-size:.9rem; }  /* v3.3.6 */
.category-card.compact .category-name { font-size:.85rem; }  /* v3.3.6 */
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.category-img { width: 100%; height: 100px; object-fit: contain; border-radius: var(--radius); }
.category-icon { width:80px; height:80px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.5rem; }
.category-name { font-weight: 600; color: var(--text); }

/* ============ v3.3.6 应用领域 ============ */
.applications-section { padding: 40px 0; background: #fafafa; }
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.application-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all .3s;
}
.application-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.application-card h3 { font-size: 1.1rem; margin: 12px 0 8px; color: var(--secondary); }
.application-card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }
.application-img { width: 100%; height: 100px; object-fit: cover; border-radius: var(--radius); }
.application-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto;
}

/* ============ v3.3.6 合作客户 ============ */
.clients-section { padding: 40px 0; }
.client-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px;
    scroll-snap-type: x mandatory;
}
.client-scroll::-webkit-scrollbar { height: 6px; }
.client-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
.client-logo-card {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    scroll-snap-align: start;
    transition: all .3s;
}
.client-logo-card:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); }
.client-logo-img { max-width: 100%; max-height: 50px; object-fit: contain; }
.client-name { font-size: .85rem; color: var(--text); font-weight: 500; }

/* ============ 产品网格 ============ */
.products-section { padding: 40px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); transition: all .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card a { color: inherit; }
.product-img { width:100%; height:180px; object-fit:cover; }
.product-img-placeholder { width:100%; height:180px; background:#eee; display:flex; align-items:center; justify-content:center; font-size:3rem; }
.product-info { padding: 14px; }
.product-info h3 { font-size: 1rem; margin-bottom: 6px; }
.product-price { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.product-specs { color: var(--text-light); font-size: .85rem; }

/* ============ 搜索栏 ============ */
.page-header { background: var(--secondary); color: #fff; padding: 30px 0; text-align: center; }
.page-header h1 { font-size: 1.8rem; }
.search-bar { display: flex; gap: 10px; max-width: 500px; margin: 15px auto 0; }
.search-bar input { flex:1; padding:10px 14px; border-radius:var(--radius); border:none; font-size:1rem; }

/* ============ 筛选标签 ============ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-tag {
    padding: 6px 16px; border-radius: 20px; background: #fff;
    border: 1px solid var(--border); color: var(--text); font-size: .9rem;
    transition: all .2s;
}
.filter-tag:hover, .filter-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============ 产品详情（v3.3.5 双栏布局）============ */
.product-detail-section { padding: 40px 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 左侧列 */
.product-left-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.product-gallery { display: flex; flex-direction: column; gap: 16px; }
.product-main-img { width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.product-img-placeholder.large { height:300px; }
.product-video { width:100%; border-radius:var(--radius-lg); }

/* 产品描述块（左侧，排版清晰） */
.product-desc-block {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    border-left: 4px solid var(--primary);
}
.desc-title {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.product-desc {
    font-size: .95rem;
    line-height: 1.9;
    color: #444;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.product-desc img {
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.product-desc p { margin-bottom: 10px; }
.product-desc strong { color: var(--secondary); }
.product-desc ul, .product-desc ol { padding-left: 20px; margin-bottom: 10px; }
.product-desc li { margin-bottom: 6px; }
.product-desc h1, .product-desc h2, .product-desc h3, .product-desc h4 {
    margin: 16px 0 8px;
    color: var(--secondary);
}
.product-desc table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}
.product-desc table th, .product-desc table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
.product-desc table th { background: #f5f5f5; font-weight: 600; }

/* 描述图片 */
.desc-images {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
}
.desc-images h4 {
    margin: 0 0 12px 0;
    font-size: .95rem;
    color: #555;
}
.desc-images-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.desc-images-grid a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #eee;
    transition: all .2s;
}
.desc-images-grid a:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}
.desc-images-grid img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* 右侧信息 */
.product-info-detail { display: flex; flex-direction: column; gap: 16px; }
.product-info-detail h1 { font-size: 1.6rem; margin-bottom: 4px; line-height: 1.4; }
.product-cat { color: var(--text-light); margin-bottom: 8px; font-size: .9rem; }

/* 规格选择 */
.spec-selection {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
}
.spec-selection h3 { margin-bottom: 14px; font-size: 1.1rem; }
.spec-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.spec-item {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border: 2px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: all .2s; user-select: none;
}
.spec-item:hover { border-color: var(--primary-light); }
.spec-item.selected { border-color: var(--primary); background: #fdf2f2; }
.spec-item input[type="radio"] { display: none; }
.spec-value { font-weight: 500; }
.spec-price { color: var(--primary); font-weight: 600; }
.spec-sku { color: var(--text-light); font-size: .8rem; }
.spec-action { display: flex; align-items: center; gap: 16px; }
.selected-price { font-size: 1.1rem; }
.selected-price #displayPrice { color: var(--primary); font-weight: 700; }

/* 联系卡片 */
.product-contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
    border-top: 3px solid var(--accent);
}
.product-contact-card h4 {
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 1rem;
}
.product-contact-card p {
    margin-bottom: 6px;
    font-size: .9rem;
    color: #555;
}

/* 缩略图 */
.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.product-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all .2s;
}
.product-thumb:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
}
.product-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(192,57,43,.2);
}

/* ============ 按钮 ============ */
.btn {
    display: inline-block; padding: 10px 20px; border-radius: var(--radius);
    border: none; cursor: pointer; font-size: .95rem; font-weight: 500;
    text-align: center; transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0392b; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-warning:hover { background: #e67e22; }
button.btn { font-family: inherit; }

/* ============ 询盘表单 ============ */
.inquiry-section { padding: 40px 0; background: #fff; }
.inquiry-form { max-width: 600px; margin: 0 auto; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-row input { flex:1; }
.inquiry-form input, .inquiry-form textarea {
    width:100%; padding:12px; border:1px solid var(--border); border-radius:var(--radius);
    font-size:1rem; font-family:inherit; margin-bottom:12px;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { outline:none; border-color:var(--primary); }

/* ============ 新闻（v3.3.5 支持图片+视频）============ */
.news-section { padding: 40px 0; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item a { display:flex; gap:16px; padding:16px; background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow); transition:all .3s; color:inherit; }
.news-item a:hover { transform:translateX(4px); box-shadow:var(--shadow-lg); }
.news-thumb { width:120px; height:80px; object-fit:cover; border-radius:var(--radius); flex-shrink:0; }
.news-text h3 { font-size:1rem; margin-bottom:6px; }
.news-date { color:var(--text-light); font-size:.85rem; }

.news-full-list { display:flex; flex-direction:column; gap:20px; }
.news-article a { display:flex; gap:20px; padding:20px; background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow); color:inherit; }
.news-article-img { width:200px; height:130px; object-fit:cover; border-radius:var(--radius); flex-shrink:0; }
.news-article-text h2 { font-size:1.2rem; margin-bottom:8px; }
.news-article-text p { color:var(--text-light); }

.news-meta { color:var(--text-light); margin-bottom:20px; font-size:.9rem; }

/* 新闻详情页 */
.news-image-wrap { margin-bottom:24px; }
.news-full-img { width:100%; max-height:400px; object-fit:contain; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.news-video-wrap { margin-bottom:24px; }
.news-video { width:100%; max-height:400px; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.news-body {
    font-size:1rem;
    line-height:1.9;
    color:#333;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.news-body img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.news-body p { margin-bottom: 12px; }
.news-body strong { color: var(--secondary); }
.news-body h1, .news-body h2, .news-body h3 { margin: 20px 0 10px; color: var(--secondary); }
.news-body ul, .news-body ol { padding-left: 20px; margin-bottom: 12px; }
.news-body li { margin-bottom: 6px; }

/* ============ v3.3.6 新闻文档下载 ============ */
.news-document {
    background: #f0f7ff;
    border: 1px solid #c8e0f4;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
}
.news-document .doc-icon { font-size: 1.5rem; }
.news-document a { font-weight: 500; }
.news-document a:hover { text-decoration: underline; }

/* ============ 页脚 ============ */
.site-footer { background: var(--secondary); color: #ecf0f1; padding: 40px 0 20px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 24px; }
.footer-col h4 { color:#fff; margin-bottom:12px; font-size:1rem; }
.footer-col p { margin-bottom:6px; font-size:.9rem; }
.footer-col a { color:#bdc3c7; }
.footer-col a:hover { color:#fff; }
.footer-col form { display:flex; flex-direction:column; gap:8px; }
.footer-col input, .footer-col textarea {
    padding:8px 10px; border-radius:var(--radius); border:none; font-size:.85rem; font-family:inherit;
}
.footer-col textarea { resize:vertical; }
.feedback-form .btn { align-self: flex-start; }
.footer-bottom { text-align:center; padding-top:16px; border-top:1px solid rgba(255,255,255,.1); font-size:.85rem; color:#95a5a6; }

/* ============ 客服组件 ============ */
.chat-widget {
    position: fixed; right: 20px; bottom: 20px; z-index: 9999;
    width: 280px; background: #fff; border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,.15); overflow: hidden;
}
.chat-header {
    background: var(--primary); color: #fff; padding: 12px 16px;
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    user-select: none;
}
.chat-title { flex:1; font-weight:600; }
.chat-toggle { font-size:1.2rem; font-weight:700; }
.chat-body { padding: 16px; }
.chat-info { margin-bottom: 12px; font-size: .9rem; }
.chat-actions { display: flex; flex-direction: column; gap: 8px; }
.chat-btn {
    display:block; padding:10px; border-radius:var(--radius); text-align:center;
    font-weight:500; transition:all .2s; text-decoration:none;
}
.chat-wechat { background:#e8f8e8; color:#27ae60; }
.chat-wechat:hover { background:#d5f5d5; }
.chat-qq { background:#e8f0fe; color:#2980b9; }
.chat-qq:hover { background:#d6e9fd; }
.chat-phone { background:#fef3e2; color:#e67e22; }
.chat-phone:hover { background:#fde8c8; }
.wechat-qr { text-align:center; margin-top:8px; padding:10px; background:#f5f5f5; border-radius:var(--radius); }

/* ============ 空状态 ============ */
.empty-tip { text-align:center; color:var(--text-light); padding:30px; font-size:1rem; }

/* ============ 下单页 ============ */
.order-section { padding: 40px 0; }
.order-product { background:#fff; padding:20px; border-radius:var(--radius-lg); margin-bottom:24px; box-shadow:var(--shadow); }
.order-form { max-width:600px; }
.order-form input, .order-form textarea {
    width:100%; padding:12px; border:1px solid var(--border); border-radius:var(--radius);
    font-size:1rem; font-family:inherit; margin-bottom:12px;
}
.payment-methods { display:flex; gap:16px; margin-bottom:16px; }
.pay-option { display:flex; align-items:center; gap:6px; cursor:pointer; }

/* ============ 成功页 ============ */
.success-section { padding: 60px 0; }
.success-card { max-width:500px; margin:0 auto; background:#fff; padding:40px; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); text-align:center; }
.success-icon { font-size:4rem; margin-bottom:16px; }
.qrcode-section { margin:24px 0; }
.qrcode-img { max-width:200px; margin:0 auto; }
.bank-section { background:#f5f5f5; padding:16px; border-radius:var(--radius); margin:16px 0; text-align:left; }

/* ============ 关于我们 ============ */
.about-section { padding: 40px 0; }
.about-content { max-width:800px; margin:0 auto; }
.about-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); gap:16px; margin:24px 0; }
.about-item { background:#fff; padding:20px; border-radius:var(--radius-lg); box-shadow:var(--shadow); text-align:center; }
.about-item h3 { margin-bottom:8px; }
.about-contact { background:#f5f5f5; padding:20px; border-radius:var(--radius-lg); margin-top:20px; }

/* ============ 联系我们 ============ */
.contact-section { padding: 40px 0; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-info p { margin-bottom:10px; font-size:1.05rem; }
.contact-form-wrap { background:#fff; padding:24px; border-radius:var(--radius-lg); box-shadow:var(--shadow); }

/* ============ 登录 ============ */
.login-section { padding: 60px 0; }
.login-box { max-width:400px; margin:0 auto; background:#fff; padding:40px; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.login-box h1 { text-align:center; margin-bottom:24px; }
.login-form input {
    width:100%; padding:12px; border:1px solid var(--border); border-radius:var(--radius);
    font-size:1rem; margin-bottom:16px;
}
.login-form .btn { width:100%; }

/* ============ 错误页 ============ */
.error-section { padding: 60px 0 80px; min-height: 60vh; display: flex; align-items: center; }
.error-box { text-align:center; max-width: 600px; margin: 0 auto; }
.error-icon { font-size: 4rem; margin-bottom: 16px; }
.error-box h1 { font-size:5rem; color:var(--primary); margin-bottom:16px; font-weight: 700; }
.error-message { font-size: 1.2rem; color: var(--text); margin-bottom: 12px; }
.error-hint { font-size: 0.95rem; color: var(--text-light); margin-bottom: 32px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.error-help { background: #fff; padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.error-help h3 { font-size: 1rem; color: var(--text); margin-bottom: 16px; }
.help-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.help-links a { color: var(--primary); font-size: 0.95rem; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.2s; }
.help-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ============ 收藏页 ============ */
.bookmark-section { padding: 60px 0; }
.bookmark-box { max-width:400px; margin:0 auto; text-align:center; background:#fff; padding:40px; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.bookmark-box kbd { background:#eee; padding:2px 8px; border-radius:4px; font-family:monospace; }

/* ============ 起订量提示 ============ */
.min-qty-notice {
    background: linear-gradient(135deg, #fff3cd, #fff8e1);
    border-left: 4px solid var(--accent);
    padding: 10px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: .95rem;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}
.min-qty-notice strong {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ============ 后台表单 ============ */
.form-standard { max-width: 900px; }
.form-group { margin-bottom: 18px; }
.form-group label { display:block; margin-bottom:6px; font-weight:500; }
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width:100%; padding:10px 14px; border:1px solid var(--border);
    border-radius:var(--radius); font-size:.95rem; font-family:inherit;
}
.form-group textarea { resize:vertical; min-height:100px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline:none; border-color:var(--primary);
}
.form-hint { font-size:.82rem; color:var(--text-light); margin-top:4px; }
.required { color:var(--danger); }
.current-image { margin-bottom:8px; }
.preview-img { max-width:200px; max-height:150px; border-radius:var(--radius); border:1px solid #eee; }
.form-actions { display:flex; gap:12px; margin-top:24px; }

/* ============ 数据表格 ============ */
.data-table { width:100%; border-collapse:collapse; margin-bottom:16px; font-size:.9rem; }
.data-table th { background:#f5f5f5; padding:10px 12px; text-align:left; border-bottom:2px solid #ddd; }
.data-table td { padding:8px 12px; border-bottom:1px solid #eee; }
.data-table input { width:100%; padding:6px 8px; border:1px solid #ddd; border-radius:4px; font-size:.85rem; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 16px 20px; gap: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,.1);
    }
    .main-nav.open { display: flex; }
    .header-inner { position: relative; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu {
        position: static; display: block; box-shadow: none;
        padding: 4px 0 4px 16px; background: #f8f8f8;
    }
    .bookmark-btn { display: none; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .product-img { height: 130px; }
    .news-article a { flex-direction: column; }
    .news-article-img { width: 100%; height: 160px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .chat-widget { width: 240px; right: 10px; bottom: 10px; }
    .form-row { flex-direction: column; gap: 0; }
    .payment-methods { flex-direction: column; gap: 8px; }
    .banner-placeholder h1 { font-size: 1.4rem; }
    .spec-item { padding: 6px 10px; font-size: .9rem; }
    .product-info-detail h1 { font-size: 1.3rem; }
    .product-desc-block { padding: 16px; }
    .desc-images { padding: 14px; }
    .desc-images-grid img { width: 80px; height: 80px; }
}
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-info { padding: 10px; }
    .product-info h3 { font-size: .9rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .chat-widget { width: 200px; }
    .chat-header { padding: 10px 12px; }
    .chat-body { padding: 12px; }
    .category-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .application-grid { grid-template-columns: repeat(2, 1fr); }
    .client-scroll { gap: 12px; }
    .client-logo-card { width: 140px; height: 80px; }
    .product-detail-grid { gap: 16px; }
    .error-box h1 { font-size: 3.5rem; }
    .error-actions { flex-direction: column; align-items: center; }
    .error-actions .btn { width: 100%; max-width: 280px; }
    .help-links { flex-direction: column; align-items: center; }
}
