/* ============================================================
   明隆丝印官网 - PC端样式
   Author: 明隆科技
   Date: 2026-08-21
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 1200px; margin: 0 auto; }

/* 自定义滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ========== 顶部导航 ========== */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-top {
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #999;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
}
.header-top a:hover { color: var(--primary-color); }
.header-main {
    display: flex;
    align-items: center;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
}
.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
}
.logo-sub {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.nav {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
}
.nav-item {
    position: relative;
    padding: 0 15px;
    height: 80px;
    line-height: 80px;
    font-size: 15px;
    color: #333;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
.header-search {
    margin-left: 15px;
    display: flex;
    align-items: center;
}
.header-search .search-input {
    width: 180px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 17px 0 0 17px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
}
.header-search .search-input:focus {
    border-color: var(--primary-color);
    width: 220px;
}
.header-search .search-btn {
    width: 36px;
    height: 34px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 17px 17px 0;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-phone {
    display: flex;
    align-items: center;
    margin-left: 20px;
}
.header-phone .phone-icon {
    font-size: 24px;
    margin-right: 8px;
}
.header-phone .phone-number {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}
.header-phone .phone-label {
    font-size: 11px;
    color: #999;
}

/* ========== Banner轮播 ========== */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s;
    background-size: cover;
    background-position: center;
}
.banner-slide.active { opacity: 1; }
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.banner-dot {
    width: 30px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}
.banner-dot.active { background: var(--primary-color); width: 40px; }
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    z-index: 10;
}
.banner:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover { background: rgba(0,0,0,0.5); }
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 90px; }
.banner-empty {
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.banner-empty h2 { font-size: 42px; margin-bottom: 15px; }
.banner-empty p { font-size: 18px; opacity: 0.9; }

/* ========== 通用板块 ========== */
.section { padding: 60px 0; }
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}
.section-title h2 span { color: var(--primary-color); }
.section-title p {
    font-size: 14px;
    color: #999;
}
.section-title .title-line {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========== 核心工艺 ========== */
.craft-section { background: #fff; }
.craft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.craft-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #eee;
}
.craft-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196,30,58,0.15);
    border-color: var(--primary-color);
}
.craft-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}
.craft-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}
.craft-item p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* ========== 产品展示 ========== */
.product-section { background: #f5f5f5; }
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.product-tab {
    padding: 8px 24px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}
.product-tab:hover, .product-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-img {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}
.product-img .bg-blur {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(50px);
    transform: scale(1.1);
    z-index: 0;
}
.product-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 15px; }
.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-info p {
    font-size: 13px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-more {
    text-align: center;
    margin-top: 30px;
}
.btn-more {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    transition: all 0.2s;
}
.btn-more:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== 客户案例 ========== */
.case-section { background: #fff; }
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.case-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 280px;
}
.case-img {
    width: 100%;
    height: 100%;
    background: #ddd;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}
.case-card:hover .case-img { transform: scale(1.1); }
.case-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}
.case-overlay h3 { font-size: 18px; margin-bottom: 5px; }
.case-overlay p { font-size: 13px; opacity: 0.8; }

/* ========== 常见问题 ========== */
.faq-section { background: #f5f5f5; }
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
}
.faq-question:hover { color: var(--primary-color); }
.faq-question .q-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}
.faq-question .q-arrow {
    margin-left: auto;
    transition: transform 0.3s;
    color: #999;
}
.faq-item.open .faq-question .q-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 25px 18px 61px;
}

/* ========== 广告位 ========== */
.ad-banner {
    padding: 30px 0;
    background: #fff;
}
.ad-banner img {
    width: 100%;
    border-radius: 8px;
}

/* ========== 底部 ========== */
.footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-about h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}
.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}
.footer-contact-item .icon { margin-right: 10px; font-size: 16px; }
.footer-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}
.footer-links li {
    margin-bottom: 10px;
    font-size: 13px;
}
.footer-links a:hover { color: var(--primary-color); }
.footer-qrcode-content {
    text-align: left;
}
.footer-qrcode-content img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    margin: 0 0 10px 0;
    display: block;
}
.footer-qrcode-content p {
    width: 120px;
    font-size: 12px;
    text-align: center;
    margin: 0;
}
.qrcode-placeholder {
    width: 120px;
    height: 120px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
    line-height: 1;
    margin: 0 auto 10px;
    border-radius: 4px;
}

/* 友情链接 */
.footer-friendlinks {
    background: #1a1a1a !important;
    border-top: 1px solid #333;
    padding: 20px 0;
    font-size: 12px;
}
.footer-friendlinks .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-friendlinks .fl-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 100px);
}
.footer-friendlinks .fl-label {
    color: #999;
    font-weight: 500;
    margin-right: 5px;
    flex-shrink: 0;
}
.footer-friendlinks .fl-sep {
    color: #444;
    flex-shrink: 0;
}
.footer-friendlinks span { color: #666; }
.footer-friendlinks a { color: #888; text-decoration: none; }
.footer-friendlinks a:hover { color: #1890ff; }
.footer-friendlinks .fl-more {
    color: #fff !important;
    background: #1890ff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex: 0 0 auto;
    display: inline-block !important;
    margin-left: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s;
}
.footer-friendlinks .fl-more:hover {
    background: #096dd9;
    color: #fff !important;
}

/* 版权信息 */
.footer-copyright {
    background: #111;
    padding: 12px 0;
    font-size: 12px;
    color: #666;
}
.footer-copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copyright .copyright-left {
    text-align: left;
}
.footer-copyright .copyright-right {
    text-align: right;
}
.footer-copyright a { color: #888; }
.footer-copyright a:hover { color: var(--primary-color); }
.footer-copyright .icp { margin: 0 15px 0 0; }

/* 访问统计 */
.footer-visit {
    background: #111;
    padding: 8px 0 4px;
    text-align: center;
    font-size: 12px;
    color: #555;
    border-top: 1px solid #1a1a1a;
}

/* ========== 右侧浮动咨询 ========== */
.float-consult {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}
.float-item {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}
.float-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}
.float-item .float-icon { font-size: 22px; }
.float-item .float-text { font-size: 11px; margin-top: 2px; }
.float-item .float-popup {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    color: #333;
}
.float-item:hover .float-popup {
    opacity: 1;
    visibility: visible;
    right: 75px;
}
.float-popup .popup-phone {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}
.float-popup img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
}
.float-popup .popup-label {
    text-align: center;
    font-size: 12px;
    margin-top: 8px;
    color: #666;
}
.float-top {
    width: 60px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
}
.float-top.show { opacity: 1; visibility: visible; }
.float-top:hover { background: var(--primary-dark); }

/* ========== 空数据 ========== */
.empty-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.empty-data .empty-icon { font-size: 48px; margin-bottom: 15px; }
.empty-data p { font-size: 14px; }

/* ===== AI咨询聊天窗口 ===== */
.ai-chat {
    position: fixed;
    right: 90px;
    bottom: 30px;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
}
.ai-chat.active { display: flex; }
.ai-chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}
.ai-chat-close {
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.ai-chat-close:hover { opacity: 1; }
.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f7f8fa;
}
.ai-chat-body::-webkit-scrollbar { width: 4px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.ai-msg {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}
.ai-msg-user { flex-direction: row-reverse; }
.ai-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.ai-msg-bot .ai-msg-avatar { background: #e6f4ff; }
.ai-msg-user .ai-msg-avatar { background: var(--primary-color); color: #fff; }
.ai-msg-content {
    max-width: 260px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
    word-wrap: break-word;
    margin: 0 8px;
}
.ai-msg-bot .ai-msg-content {
    background: #fff;
    border: 1px solid #eee;
    border-top-left-radius: 2px;
}
.ai-msg-user .ai-msg-content {
    background: var(--primary-color);
    color: #fff;
    border-top-right-radius: 2px;
}
.ai-msg-typing {
    display: inline-flex;
    gap: 3px;
    padding: 10px 14px;
}
.ai-msg-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #999;
    animation: typing 1.2s infinite;
}
.ai-msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-msg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}
.ai-chat-quick {
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ai-chat-quick span {
    font-size: 11px;
    padding: 4px 10px;
    background: #f0f5ff;
    color: var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.ai-chat-quick span:hover { background: var(--primary-color); color: #fff; }
.ai-chat-input {
    display: flex;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #eee;
    gap: 8px;
}
.ai-chat-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.ai-chat-input input:focus { border-color: var(--primary-color); }
.ai-chat-input button {
    padding: 8px 18px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}
.ai-chat-input button:hover { background: var(--primary-dark); }

/* ========== 产品列表页 & 详情页 ========== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.page-banner h1 { font-size: 32px; margin-bottom: 10px; }
.page-banner p { font-size: 16px; opacity: 0.9; }

.breadcrumb-wrap {
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}
.breadcrumb { font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }
.breadcrumb .current { color: var(--primary-color); }

.product-list-wrap, .product-detail-wrap { padding: 30px 0; }
.product-layout {
    display: flex;
    gap: 25px;
}
.product-sidebar { width: 240px; flex-shrink: 0; }
.product-main { flex: 1; min-width: 0; }

.sidebar-box {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sidebar-title {
    font-size: 16px;
    font-weight: 500;
    padding: 15px 20px;
    border-bottom: 2px solid var(--primary-color);
    color: #333;
}
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { border-bottom: 1px solid #f5f5f5; }
.category-list li:last-child { border-bottom: none; }
.category-list li a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-size: 14px;
    transition: all 0.2s;
}
.category-list li a:hover { color: var(--primary-color); background: #f8f8f8; padding-left: 25px; }
.category-list li.active a { color: var(--primary-color); background: #f0f7ff; font-weight: 500; border-left: 3px solid var(--primary-color); padding-left: 17px; }

.contact-box { padding: 20px; text-align: center; }
.contact-box .sidebar-title { border-bottom: none; padding: 0 0 12px; }
.contact-phone { font-size: 22px; font-weight: bold; color: var(--primary-color); }

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.list-count { font-size: 14px; color: #666; }
.list-count strong { color: var(--primary-color); font-size: 18px; }
.list-keyword { font-size: 13px; color: #999; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.product-thumb {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: #f5f5f5;
    overflow: hidden;
}
.product-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    z-index: 1;
}
.product-thumb .bg-blur {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(50px);
    transform: scale(1.1);
    z-index: 0;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.no-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
}
.product-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 3px;
    z-index: 2;
}
.product-info { padding: 15px; }
.product-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card:hover .product-title { color: var(--primary-color); }
.product-cat {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    background: #f0f7ff;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
}
.product-sub {
    font-size: 13px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 15px; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    transition: all 0.2s;
}
.pagination a:hover { border-color: var(--primary-color); color: var(--primary-color); }
.pagination .page-current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.pagination .page-ellipsis { border: none; padding: 0 5px; }

/* 产品详情页 */
.product-detail-top {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.product-gallery { width: 45%; flex-shrink: 0; }
.main-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}
.main-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}
.main-image .bg-blur {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(50px);
    transform: scale(1.1);
    z-index: 0;
}
.no-img-large {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 16px;
}
.thumb-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #eee;
    transition: border-color 0.2s;
    position: relative;
    background: #f5f5f5;
}
.thumb-item:hover { border-color: var(--primary-color); }
.thumb-item.active { border-color: var(--primary-color); }
.thumb-item img { 
    position: relative;
    z-index: 1;
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}
.thumb-item .bg-blur {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(50px);
    transform: scale(1.1);
    z-index: 0;
}

.product-info-detail { flex: 1; min-width: 0; }
.detail-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}
.detail-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}
.detail-meta {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 25px;
}
.meta-item {
    display: block;
    font-size: 14px;
    color: #666;
    padding: 5px 0;
}
.meta-item label { color: #999; margin-right: 5px; }
.detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.btn-large { padding: 12px 30px; font-size: 15px; }
.btn-outline {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover { background: var(--primary-color); color: #fff; }
.detail-tips {
    font-size: 13px;
    color: #999;
    padding: 12px 15px;
    background: #fffbe6;
    border-radius: 4px;
    border-left: 3px solid #faad14;
}
.detail-tips p { margin: 0; }

.product-detail-content {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    overflow: hidden;
}
.content-tabs {
    border-bottom: 1px solid #eee;
    padding: 0 25px;
}
.content-tabs .tab {
    display: inline-block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: -1px;
}
.content-body { padding: 25px; line-height: 1.8; color: #444; font-size: 15px; }
.content-body img { max-width: 100%; height: auto; border-radius: 4px; }
.content-body p { margin-bottom: 15px; }

.related-products {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.related-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.related-products .product-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 992px) {
    .product-layout { flex-direction: column; }
    .product-sidebar { width: 100%; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-top { flex-direction: column; }
    .product-gallery { width: 100%; }
    .related-products .product-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ========== 友情链接 ========== */
.footer-friendlinks {
    background: #f8f8f8;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    font-size: 13px;
}
.footer-friendlinks .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.footer-friendlinks .fl-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}
.footer-friendlinks .fl-sep {
    color: #ddd;
    margin: 0 12px;
}
.footer-friendlinks a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-friendlinks a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
/* ========== FAQ常见问题 ========== */
.faq-group {
    margin-bottom: 30px;
}
.faq-group-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}
.faq-accordion {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.faq-accordion .faq-item {
    border-bottom: 1px solid #eee;
}
.faq-accordion .faq-item:last-child {
    border-bottom: none;
}
.faq-accordion .faq-question {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.2s;
}
.faq-accordion .faq-question:hover {
    background: #f0f7ff;
}
.faq-accordion .faq-q-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}
.faq-accordion .faq-q-text {
    flex: 1;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}
.faq-accordion .faq-arrow {
    color: #999;
    font-size: 12px;
    transition: transform 0.3s;
    margin-left: 10px;
}
.faq-accordion .faq-answer {
    padding: 15px 20px 15px 56px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: none;
}
.faq-accordion .faq-item.open .faq-answer {
    display: block;
}
.faq-accordion .faq-item.open .faq-arrow {
    transform: rotate(180deg);
}
.faq-accordion .faq-a-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #52c41a;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    float: left;
    margin-left: -36px;
}
.faq-accordion .faq-a-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}
.faq-accordion .faq-a-text p {
    margin: 0 0 10px 0;
}
.faq-accordion .faq-a-text p:last-child {
    margin-bottom: 0;
}

/* ========== 下载中心 ========== */
.download-list-wrap {
    padding: 30px 0;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.download-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}
.download-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.download-icon {
    width: 50px;
    height: 50px;
    background: #f5f7fa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.file-icon {
    font-size: 20px;
}
.file-ext {
    font-size: 9px;
    color: #999;
    margin-top: 2px;
}
.download-info {
    flex: 1;
    min-width: 0;
}
.download-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.download-title:hover {
    color: var(--primary-color);
}
.download-desc {
    font-size: 13px;
    color: #999;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.download-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}
.download-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 12px;
    flex-shrink: 0;
}
.download-actions .btn {
    padding: 6px 16px;
    font-size: 13px;
    white-space: nowrap;
}

/* 下载详情页 */
.download-detail-wrap {
    padding: 30px 0;
}
.download-detail-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}
.download-detail-icon {
    width: 120px;
    height: 120px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
}
.file-icon-large {
    font-size: 56px;
}
.download-detail-info {
    flex: 1;
}
.download-detail-info .detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}
.download-detail-info .detail-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 20px 0;
}
.download-detail-info .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}
.download-detail-info .meta-item {
    font-size: 14px;
    color: #666;
}
.download-detail-info .meta-item label {
    color: #999;
    margin-right: 5px;
}
.download-detail-info .detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.download-detail-info .detail-tips {
    font-size: 13px;
    color: #999;
    background: #fffbe6;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 3px solid #faad14;
}
.related-downloads {
    margin-top: 30px;
}
.related-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}
/* ========== FAQ收起完全隐藏修复（强制） ========== */
.faq-accordion .faq-item .faq-answer {
    display: none !important;
    overflow: hidden !important;
    max-height: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.faq-accordion .faq-item.open .faq-answer {
    display: block !important;
    max-height: 2000px !important;
    padding: 15px 20px 15px 56px !important;
    border-top: 1px solid #f0f0f0 !important;
}
.faq-accordion .faq-item .faq-arrow {
    transition: transform 0.3s !important;
    transform: rotate(0deg) !important;
}
.faq-accordion .faq-item.open .faq-arrow {
    transform: rotate(180deg) !important;
}
.faq-accordion .faq-answer .faq-a-icon {
    float: left;
    margin-left: -36px;
}
.faq-accordion .faq-answer .faq-a-text {
    overflow: hidden;
}
/* ========== 关于我们 ========== */
.about-section {
    padding: 60px 0;
}
.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-text {
    flex: 1;
}
.about-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 15px 0;
}
.about-divider {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 25px;
}
.about-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.9;
    margin: 0 0 15px 0;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.stat-item {
    text-align: center;
    padding: 20px 10px;
    background: #f8f9fa;
    border-radius: 8px;
}
.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.stat-label {
    font-size: 13px;
    color: #999;
}
.about-image {
    flex: 0 0 400px;
}
.about-img-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.about-img-placeholder .img-icon {
    font-size: 64px;
    margin-bottom: 15px;
}
.about-img-placeholder p {
    font-size: 16px;
    margin: 0;
}

/* 企业优势 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.advantage-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.advantage-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}
.advantage-item p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    margin: 0;
}

/* 发展历程时间轴 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 35px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}
.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.timeline-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}
.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* CTA */
.about-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.about-cta h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
}
.about-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 30px 0;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.cta-buttons .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}
.cta-buttons .btn-primary:hover {
    background: #f5f5f5;
}
.cta-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.cta-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* ========== 联系我们 ========== */
.contact-section {
    padding: 50px 0;
}
.contact-layout {
    display: flex;
    gap: 40px;
}
.contact-info {
    flex: 0 0 420px;
}
.contact-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}
.contact-divider {
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 25px;
}
.contact-list {
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}
.contact-item:last-child {
    border-bottom: none;
}
.contact-icon {
    width: 45px;
    height: 45px;
    background: #f0f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-text label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}
.contact-text p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0 0 4px 0;
}
.contact-text p a {
    color: var(--primary-color);
    text-decoration: none;
}
.contact-tip {
    font-size: 12px;
    color: #bbb;
}
.contact-qrcode {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}
.contact-qrcode h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}
.contact-qrcode img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    margin: 0 auto 10px;
    display: block;
}
.qrcode-placeholder {
    width: 140px;
    height: 140px;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #ccc;
    font-size: 13px;
}
.contact-qrcode p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* 留言表单 */
.contact-form-wrap {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.form-desc {
    font-size: 14px;
    color: #999;
    margin: 0 0 25px 0;
}
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}
.contact-form .form-group {
    flex: 1;
    margin-bottom: 0;
}
.contact-form .form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form .required {
    color: #ff4d4f;
    margin-right: 3px;
}
.contact-form .form-input,
.contact-form .form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-family: inherit;
}
.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
}
.contact-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.contact-form .btn-large {
    padding: 12px 30px;
    font-size: 15px;
}
.contact-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== 全局按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    white-space: nowrap;
    vertical-align: middle;
    box-sizing: border-box;
}
.btn:hover {
    text-decoration: none;
}
.btn-primary {
    background: var(--primary-color, #1890ff);
    color: #fff;
    border-color: var(--primary-color, #1890ff);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.25);
}
.btn-primary:hover {
    background: var(--primary-dark, #096dd9);
    border-color: var(--primary-dark, #096dd9);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.35);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary-color, #1890ff);
    border-color: var(--primary-color, #1890ff);
}
.btn-outline:hover {
    background: var(--primary-color, #1890ff);
    color: #fff;
}
.btn-large {
    padding: 12px 32px;
    font-size: 15px;
    border-radius: 8px;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn:disabled, .btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}