/* ========== Reset ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Arial, 'Microsoft YaHei', sans-serif;
    line-height: 1.7; color: #333; font-size: 14px;
    background: #fff;
}
a { text-decoration: none; color: #333; transition: color 0.2s; }
a:hover { color: #0080c0; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== Top Bar ========== */
.top-bar {
    background: #f5f5f5; border-bottom: 1px solid #eee;
    font-size: 13px; color: #666; line-height: 38px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #666; }
.top-bar a:hover { color: #0080c0; }
.top-bar i { margin-right: 5px; color: #0080c0; }
.top-bar .social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: #f0f2f5; color: #555; margin-left: 4px;
    transition: all 0.25s ease; overflow: hidden;
}
.top-bar .social-icon i { margin-right: 0; color: inherit; font-size: 13px; }
.top-bar .social-icon svg { display: block; }
.top-bar .social-icon:hover { background: #0080c0; color: #fff; }
.top-bar .social-icon:hover i,
.top-bar .social-icon:hover i::before { color: #fff; }
.top-bar .social-icon:hover svg { fill: #fff; }

/* ========== Footer Social Icons ========== */
.footer-social {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.footer-social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: #eef2f7; color: #555;
    transition: all 0.25s ease; text-decoration: none;
    overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.footer-social-icon i { font-size: 16px; }
.footer-social-icon svg { display: block; width: 17px; height: 17px; }
.footer-social-icon:hover { background: #0080c0; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,128,192,0.25); }
.footer-social-icon:hover i,
.footer-social-icon:hover i::before { color: #fff; }
.footer-social-icon:hover svg { fill: #fff; }

/* Footer contact rows - fix misalignment */
.footer-contact p.contact-row {
    display: block; margin: 0 0 10px 0; padding: 0;
    line-height: 1.6; clear: both; overflow: hidden;
}
.footer-contact p.contact-row i {
    float: left; width: 20px; text-align: center;
    margin: 3px 8px 0 0; padding: 0; color: #0080c0;
    font-size: 14px; line-height: 1;
}
.footer-contact p.contact-row a,
.footer-contact p.contact-row span {
    display: inline; word-break: break-all; line-height: 1.6;
}

/* ========== Header ========== */
.header {
    background: #fff; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; height: 100%; }
.logo img { height: 100%; width: auto; display: block; }
.logo-text {
    font-size: 22px; font-weight: 700; color: #0080c0;
    letter-spacing: 1px;
}
.mobile-toggle { display: none; background: none; border: none; font-size: 22px; color: #333; cursor: pointer; padding: 8px; }

/* ========== Navigation ========== */
.nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav > li { position: relative; }
.nav > li > a {
    display: block; padding: 0 18px; height: 70px; line-height: 70px;
    color: #333; font-size: 14px; font-weight: 500;
    text-transform: uppercase; transition: all 0.2s;
}
.nav > li:hover > a, .nav > li.active > a { color: #0080c0; }
.nav > li:last-child > a { padding-right: 0; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 20px; }
.header-search-btn {
    background: none; border: none; font-size: 16px; color: #555;
    cursor: pointer; padding: 8px; transition: color 0.2s;
}
.header-search-btn:hover { color: #0080c0; }
.header-email-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #0080c0; color: #fff; padding: 8px 16px;
    border-radius: 4px; font-size: 13px; font-weight: 500;
    transition: background 0.2s;
}
.header-email-btn:hover { background: #006699; }
.header-cart-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; color: #555; font-size: 18px; text-decoration: none;
    transition: color 0.2s;
}
.header-cart-btn:hover { color: #e74c3c; }
.cart-badge {
    position: absolute; top: -2px; right: -6px; background: #e74c3c; color: #fff;
    font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
    line-height: 18px; text-align: center; border-radius: 9px; padding: 0 4px;
}

/* 询价单弹窗 */
.inquiry-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; display: none; align-items: center; justify-content: center;
}
.inquiry-modal.show { display: flex; }
.inquiry-modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.inquiry-modal-content {
    position: relative; background: #fff; border-radius: 12px;
    padding: 30px; width: 100%; max-width: 700px; max-height: 90vh;
    display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
}
.inquiry-modal-close {
    position: absolute; top: 12px; right: 14px;
    background: none; border: none; font-size: 20px; color: #999;
    cursor: pointer; transition: color 0.2s; z-index: 2;
}
.inquiry-modal-close:hover { color: #333; }
.inquiry-modal-content h3 { font-size: 20px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #eee; }
.inquiry-modal-body {
    flex: none; overflow-y: auto; min-height: 60px; max-height: 240px;
    margin-bottom: 16px;
}
.inquiry-empty { text-align: center; color: #999; padding: 30px 0; font-size: 14px; }
/* 产品列表卡片样式 */
.inquiry-product-item {
    display: flex; align-items: center; gap: 12px; padding: 8px 10px;
    border-radius: 6px; transition: background 0.2s;
}
.inquiry-product-item:hover { background: #f9f9f9; }
.inquiry-product-item .ip-thumb {
    width: 48px; height: 48px; border-radius: 6px; overflow: hidden;
    flex: 0 0 auto; background: #f0f0f0; border: 1px solid #eee;
}
.inquiry-product-item .ip-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.inquiry-product-item .ip-name { flex: 1; font-size: 14px; color: #333; font-weight: 500; }
.inquiry-product-item .ip-name a { color: #333; text-decoration: none; }
.inquiry-product-item .ip-name a:hover { color: #0080c0; }
.inquiry-product-item .ip-remove {
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
    background: none; border: 1px solid #ddd; color: #bbb; font-size: 13px;
    cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.inquiry-product-item .ip-remove:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }
/* 表单样式 */
.inquiry-form { border-top: 1px solid #eee; padding-top: 16px; overflow-y: auto; flex: 1; }
.inquiry-form-row { display: flex; gap: 12px; }
.inquiry-form-group { flex: 1; margin-bottom: 10px; }
.inquiry-form-group label { display: block; font-size: 12px; color: #888; margin-bottom: 4px; font-weight: 500; }
.inquiry-form-group input,
.inquiry-form-group textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 13px; transition: border-color 0.2s; box-sizing: border-box;
    background: #fafafa;
}
.inquiry-form-group input:focus,
.inquiry-form-group textarea:focus { border-color: #0080c0; outline: none; background: #fff; }
.inquiry-form-actions {
    display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px;
    padding-top: 12px; border-top: 1px solid #eee;
}
.btn-inquiry-footer {
    display: inline-flex; align-items: center; gap: 6px;
    background: #e74c3c; color: #fff; border: none; border-radius: 6px;
    padding: 10px 24px; font-size: 14px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: background 0.2s;
}
.btn-inquiry-footer:hover { background: #c0392b; }
.btn-clear-inquiry {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; color: #666; border: 1px solid #ddd; border-radius: 6px;
    padding: 10px 24px; font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.btn-clear-inquiry:hover { background: #f5f5f5; color: #e74c3c; border-color: #e74c3c; }

/* 联系表单消息 */
.contact-msg { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.contact-msg-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.contact-msg-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* 飞入动画元素 */
.fly-item {
    position: fixed; z-index: 99999; pointer-events: none;
    width: 32px; height: 32px; border-radius: 50%;
    background: #e74c3c; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; box-shadow: 0 4px 16px rgba(231,76,60,0.4);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fly-item.fly { transform: scale(0.3); opacity: 0.6; }
@keyframes cartBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.cart-bounce { animation: cartBounce 0.4s ease; }

/* Search Modal */
.search-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; display: none; align-items: center; justify-content: center;
}
.search-modal.show { display: flex; }
.search-modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.search-modal-content {
    position: relative; background: #fff; padding: 40px;
    border-radius: 8px; width: 90%; max-width: 600px; z-index: 1;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.search-modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 20px; color: #999;
    cursor: pointer; padding: 4px;
}
.search-modal-close:hover { color: #333; }
.search-form { display: flex; gap: 10px; }
.search-form input {
    flex: 1; padding: 12px 16px; border: 2px solid #e0e0e0;
    border-radius: 4px; font-size: 16px; outline: none;
}
.search-form input:focus { border-color: #0080c0; }
.search-form button {
    background: #0080c0; color: #fff; border: none;
    padding: 12px 24px; border-radius: 4px; cursor: pointer;
    font-size: 16px; transition: background 0.2s;
}
.search-form button:hover { background: #006699; }

/* Dropdown */
.dropdown {
    position: absolute; top: 70px; left: 0; background: #fff;
    min-width: 240px; box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-radius: 0 0 4px 4px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.25s ease; z-index: 999;
}
.nav > li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown > li { position: relative; border-bottom: 1px solid #f0f0f0; }
.dropdown > li:last-child { border-bottom: none; }
.dropdown > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; color: #555; font-size: 14px;
    transition: all 0.2s;
}
.dropdown > li > a:hover { background: #f0f8ff; color: #0080c0; padding-left: 26px; }
.dropdown > li > a .sub-arrow {
    font-size: 10px; color: #999; margin-left: 10px;
    transition: all 0.2s;
}
.dropdown > li > a:hover .sub-arrow { color: #0080c0; }

/* Third level dropdown */
.dropdown-third {
    position: absolute; left: 100%; top: 0; background: #fff;
    min-width: 230px; box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-radius: 4px;
    opacity: 0; visibility: hidden; transform: translateX(8px);
    transition: all 0.25s ease;
}
.dropdown > li:hover > .dropdown-third { opacity: 1; visibility: visible; transform: translateX(0); }
.dropdown-third li { border-bottom: 1px solid #f0f0f0; }
.dropdown-third li:last-child { border-bottom: none; }
.dropdown-third li a {
    display: block; padding: 10px 18px; color: #555; font-size: 13px;
    white-space: nowrap;
}
.dropdown-third li a:hover { background: #f0f8ff; color: #0080c0; }

/* ========== Hero Banner ========== */
.hero { height: 450px; color: #fff; position: relative; overflow: hidden; }
.hero-slide {
    width: 100%; height: 100%; display: flex; align-items: center;
    position: absolute; top: 0; left: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero-slide.active {
    opacity: 1; visibility: visible;
}
.hero-bg-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
}
/* 横幅底部指示器 */
.hero-dots {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
    width: 28px; height: 3px; background: rgba(255,255,255,0.4);
    border-radius: 2px; cursor: pointer; transition: all 0.3s;
}
.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.active { width: 36px; background: #fff; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,30,60,0.7) 0%, rgba(0,60,100,0.4) 60%, rgba(0,100,150,0.2) 100%);
    z-index: 1;
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; padding: 60px 0; }
.hero-content h1 { font-size: 38px; font-weight: 700; margin-bottom: 18px; line-height: 1.3; }
.hero-content p { font-size: 16px; line-height: 1.8; opacity: 0.9; margin-bottom: 30px; }
.hero-btn {
    display: inline-block; padding: 14px 36px; background: #fff; color: #0080c0;
    font-size: 15px; font-weight: 600; border-radius: 30px;
    transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.hero-btn:hover { background: #f0f8ff; color: #005a8a; transform: translateY(-2px); }
.hero-btn i { margin-left: 8px; }

/* ========== Section ========== */
.section { padding: 60px 0; }
.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 35px; border-bottom: 1px solid #e8e8e8; padding-bottom: 15px;
}
.section-title-wrap h2 { font-size: 22px; font-weight: 700; color: #333; }
.section-title-wrap p { font-size: 14px; color: #999; margin-top: 5px; }
.section-more {
    font-size: 14px; color: #0080c0; font-weight: 500;
    white-space: nowrap; padding: 6px 18px;
    border: 1px solid #0080c0; border-radius: 20px; transition: all 0.3s;
}
.section-more:hover { background: #0080c0; color: #fff; }
.section-more i { margin-left: 4px; }

/* ========== Product Grid ========== */
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px;
}
.product-item {
    background: #fff; border: 1px solid #eee;
    border-radius: 6px; overflow: hidden;
    transition: all 0.3s ease;
}
.product-item:hover { box-shadow: 0 6px 25px rgba(0,0,0,0.08); border-color: #0080c0; }
.product-item a { display: block; color: #333; }
.product-img {
    height: 220px; overflow: hidden; position: relative;
    background: #fff;
}
.product-img img {
    width: 100%; height: 100%; object-fit: contain;
    object-position: center center;
    transition: transform 0.3s ease, opacity 0.6s ease;
    background: #fff;
}
.product-item:hover .product-img img { transform: scale(1.05); }

/* 懒加载图片淡入淡出 */
.lazy-img {
    opacity: 1;
    transition: opacity 0.6s ease;
}
.lazy-img.loaded,
.lazy-img[src*="no-image"] {
    opacity: 1;
}
.product-item h3 {
    padding: 10px 14px 4px; font-size: 14px; font-weight: 600;
    text-align: center; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    color: #333; line-height: 1.5; min-height: 42px; white-space: normal;
    word-break: break-word;
}
.product-item:hover h3 { color: #0080c0; }
.product-item .product-bottom {
    display: flex; align-items: center; justify-content: center;
    padding: 6px 14px 14px;
}
.product-item .product-bottom .btn-inquiry-sm {
    display: inline-flex; align-items: center; gap: 5px;
    background: #e74c3c; color: #fff; border: none; border-radius: 4px;
    padding: 6px 14px; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: background 0.2s;
}
.product-item .product-bottom .btn-inquiry-sm:hover { background: #c0392b; }
.badge {
    position: absolute; top: 10px; left: 10px;
    background: #ff4444; color: #fff; font-size: 11px;
    padding: 2px 10px; border-radius: 3px;
}

/* ========== About Section ========== */
.about-section { background: #f9f9f9; }
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { border-radius: 6px; overflow: hidden; }
.about-img img { width: 100%; }
.about-text h3 { font-size: 24px; color: #0080c0; margin-bottom: 18px; font-weight: 700; }
.about-text p { color: #555; font-size: 14px; line-height: 2; margin-bottom: 10px; }

.about-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 25px;
}
.stat-item {
    background: #fff; text-align: center; padding: 18px 10px;
    border-radius: 6px; border: 1px solid #eee;
}
.stat-num { display: block; font-size: 22px; font-weight: 700; color: #0080c0; }
.stat-label { display: block; font-size: 12px; color: #888; margin-top: 4px; }

/* ========== CTA Banner ========== */
.cta-banner {
    background: #0080c0; color: #fff; padding: 35px 0;
}
.cta-content {
    display: flex; justify-content: space-between; align-items: center;
}
.cta-content h3 { font-size: 18px; font-weight: 600; max-width: 600px; }
.cta-phone { text-align: right; }
.cta-phone span { display: block; font-size: 12px; opacity: 0.8; }
.cta-phone strong { display: block; font-size: 22px; font-weight: 700; margin-top: 2px; letter-spacing: 1px; }

/* ========== Page Banner ========== */
.page-banner {
    background: linear-gradient(135deg, #005a8a 0%, #0080c0 100%);
    color: #fff; padding: 50px 0; text-align: center;
    background-size: cover; background-position: center; position: relative;
}
.page-banner[style*="background-image"]::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.4);
}
.page-banner[style*="background-image"] .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 30px; margin-bottom: 8px; }
.page-banner .breadcrumb {
    padding: 0; margin-bottom: 0; border-bottom: none; color: rgba(255,255,255,0.85);
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb i { color: rgba(255,255,255,0.5); }
.page-banner .breadcrumb span { color: #fff; }

/* ========== List Layout ========== */
.list-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.list-layout.search-fullwidth { grid-template-columns: 1fr; }

/* Sidebar */
.sidebar { background: #fff; border: 1px solid #eee; border-radius: 4px; padding: 0; height: fit-content; }
.sidebar h3 {
    font-size: 16px; padding: 15px 18px; background: #f5f5f5;
    border-bottom: 1px solid #eee; font-weight: 700;
}
.cat-menu li { border-bottom: 1px solid #f5f5f5; }
.cat-menu li:last-child { border-bottom: none; }
.cat-menu li a { display: block; padding: 11px 18px; color: #555; font-size: 14px; transition: all 0.2s; }
.cat-menu li a:hover, .cat-menu li a.active { color: #0080c0; background: #f0f8ff; padding-left: 22px; }
.cat-menu .sub { padding-left: 20px; background: #fafafa; }
.cat-menu .sub a { font-size: 13px; color: #888; padding: 8px 18px; }
.cat-menu .sub a::before { content: '\203a '; margin-right: 3px; }

/* ========== Breadcrumb ========== */
.breadcrumb { padding: 12px 0; margin-bottom: 20px; font-size: 13px; color: #fff; border: none; }
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.breadcrumb i { margin: 0 8px; color: rgba(255,255,255,0.5); font-size: 11px; }
.breadcrumb span { color: #fff; }

/* ========== Product Detail ========== */
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.detail-pic { border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #f8f8f8; }
.detail-pic img { width: 100%; height: auto; display: block; object-fit: contain; }
.detail-info h1 { font-size: 24px; margin-bottom: 18px; color: #333; }
.detail-meta { display: flex; gap: 25px; margin-bottom: 20px; flex-wrap: wrap; }
.detail-meta span { color: #888; font-size: 14px; }
.detail-meta span strong { color: #0080c0; }
.detail-meta i { margin-right: 5px; color: #0080c0; }
.detail-content { color: #555; font-size: 14px; line-height: 2; }
.detail-content p { margin-bottom: 12px; }
.detail-content img { max-width: 100%; border-radius: 4px; margin: 10px 0; border: 1px solid #eee; }
.back-btn {
    display: inline-block; margin-top: 25px; padding: 10px 24px;
    background: #f5f5f5; color: #555; border-radius: 4px;
    border: 1px solid #ddd; transition: all 0.2s; font-size: 14px;
}
.back-btn:hover { background: #0080c0; color: #fff; border-color: #0080c0; }
.back-btn i { margin-right: 6px; }

/* ========== Pagination ========== */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 5px; margin-top: 40px;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 14px; border-radius: 4px; font-size: 14px;
    min-width: 36px; height: 36px;
    background: #fff; color: #555; border: 1px solid #ddd;
    transition: all 0.2s;
}
.pagination a:hover { border-color: #0080c0; color: #0080c0; }
.pagination .current { background: #0080c0; color: #fff; border-color: #0080c0; }
.pagination .disabled { color: #ccc; cursor: not-allowed; border-color: #eee; }

/* ========== Footer ========== */
.footer {
    background: #f8f8f8; border-top: 3px solid #0080c0; padding: 50px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 4fr; gap: 40px; margin-bottom: 0; }
.footer-col h4 {
    font-size: 16px; color: #333; font-weight: 700;
    padding-bottom: 12px; margin-bottom: 15px;
    border-bottom: 1px solid #e8e8e8; position: relative;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: -1px; left: 0;
    width: 40px; height: 2px; background: #0080c0;
}
.footer-col p { color: #666; font-size: 13px; line-height: 2; margin-bottom: 6px; }
.footer-col a:not(.footer-social-icon) { color: #666; font-size: 13px; display: block; margin-bottom: 7px; transition: all 0.2s; }
.footer-col a:not(.footer-social-icon):hover { color: #0080c0; padding-left: 4px; }
.footer-contact p.contact-row { margin-bottom: 8px; }
.footer-contact p.contact-row i { color: #0080c0; width: 20px; text-align: center; margin-right: 8px; }

.footer-bottom {
    background: #eee; margin-top: 40px; padding: 18px 0;
    text-align: center; font-size: 12px; color: #888;
}

/* ========== Contact Page ========== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 22px; margin-bottom: 8px; }
.contact-desc { color: #666; font-size: 14px; margin-bottom: 25px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-icon {
    width: 44px; height: 44px; border-radius: 50%; background: #f0f8ff; color: #0080c0;
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.contact-detail h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; color: #333; }
.contact-detail p { font-size: 14px; color: #666; margin: 0; }

.contact-form-wrap { background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px;
    font-size: 14px; color: #333; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: #0080c0; outline: none; }
.form-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #0080c0; color: #fff; border: none; border-radius: 4px;
    padding: 12px 30px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.form-btn:hover { background: #006a9e; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .about-wrap { grid-template-columns: 1fr; gap: 30px; }
    .detail-wrap { grid-template-columns: 1fr; gap: 30px; }
    .list-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .hero { height: 300px; }
    .hero-content { padding: 30px 0; }
    .hero-content h1 { font-size: 26px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .section-more { align-self: flex-start; }
    .cta-content { flex-direction: column; text-align: center; gap: 15px; }
    .cta-phone { text-align: center; }
    .top-bar { display: none; }
    .top-right { display: none; }
    .mobile-toggle { display: block; }
    .header-actions { margin-left: auto; gap: 8px; }
    .header-email-btn span { display: none; }
    .header-email-btn { padding: 8px 10px; }
    .nav { display: none; }
    .nav.show { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.1); z-index: 999; }
    .nav.show > li { width: 100%; }
    .nav.show > li > a { height: 46px; line-height: 46px; padding: 0 20px; }
    .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
    .nav.show > li:hover .dropdown { display: block; }
    .dropdown-third { position: static; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 15px; }
    .dropdown > li:hover .dropdown-third { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== blog.php - 博客列表页样式 ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 10px;
}
.blog-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}
.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.blog-item a { text-decoration: none; color: inherit; display: block; }
.blog-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f2f5;
}
.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #f0f2f5;
    transition: transform 0.4s ease;
}
.blog-item:hover .blog-img img { transform: scale(1.05); }
.blog-info {
    padding: 20px;
}
.blog-info h3 {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-summary {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 12px;
}
.blog-date {
    font-size: 13px;
    color: #95a5a6;
}
.blog-date i { margin-right: 4px; }
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ===== blog_detail.php - 博客详情页样式 ===== */
.blog-detail-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.blog-detail-header {
    margin-bottom: 30px;
}
.blog-detail-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 12px;
}
.blog-detail-meta {
    font-size: 15px;
    color: #95a5a6;
}
.blog-detail-meta i { margin-right: 6px; }
.blog-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    max-width: 100%;
}
.blog-detail-content p { margin-bottom: 16px; }
.blog-detail-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 15px 0; }
@media (max-width: 768px) {
    .blog-detail-header h1 { font-size: 22px; }
}

/* ===== detail.php - 产品详情页样式 ===== */
.detail-pic-wrap { position: relative; user-select: none; }
.detail-main-pic { border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #f8f8f8; margin-bottom: 12px; position: relative; }
.detail-main-pic img { width: 100%; height: auto; display: block; object-fit: contain; }

/* 大图左右箭头 */
.detail-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity 0.25s; z-index: 2; color: #fff; font-size: 18px; background: rgba(0,0,0,0.2); border-radius: 4px; }
.detail-nav:hover { background: rgba(0,0,0,0.4); }
.detail-nav-left { left: 8px; }
.detail-nav-right { right: 8px; }
.detail-main-pic:hover .detail-nav { opacity: 1; }

/* 缩略图 */
.detail-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.detail-thumbs::-webkit-scrollbar { height: 4px; }
.detail-thumbs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.detail-thumbs .thumb-item { flex: 0 0 auto; width: 70px; height: 70px; border: 2px solid #eee; border-radius: 6px; overflow: hidden; cursor: pointer; background: #f8f8f8; transition: border-color 0.2s; }
.detail-thumbs .thumb-item:hover, .detail-thumbs .thumb-item.active { border-color: #0080c0; }
.detail-thumbs .thumb-item img { width: 100%; height: 100%; object-fit: contain; background: #f8f8f8; }

/* 信息区扩展样式 */
.detail-info .breadcrumb-inline { font-size: 13px; color: #888; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.detail-info .breadcrumb-inline a { color: #0080c0; text-decoration: none; }
.detail-info .breadcrumb-inline a:hover { text-decoration: underline; }
.detail-info .breadcrumb-inline i { font-size: 10px; margin: 0 6px; color: #ccc; }
.detail-params { margin: 12px 0; padding: 10px 14px; background: #f9f9f9; border-radius: 6px; border-left: 3px solid #0080c0; font-size: 14px; line-height: 1.7; color: #555; white-space: pre-wrap; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-inquiry { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #0080c0; padding: 12px 28px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 600; transition: all 0.2s; border: 2px solid #0080c0; cursor: pointer; }
.btn-inquiry:hover { background: #0080c0; color: #fff; }
.btn-add-inquiry { display: inline-flex; align-items: center; gap: 7px; background: #e74c3c; color: #fff; padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: background 0.2s; }
.btn-add-inquiry:hover { background: #c0392b; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #0080c0; padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.2s; border: 2px solid #0080c0; cursor: pointer; }
.btn-whatsapp:hover { background: #0080c0; color: #fff; }
.detail-social { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee; }
.detail-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 14px; text-decoration: none; transition: opacity 0.2s; }
.detail-social a:hover { opacity: 0.8; }

/* Description 区域 */
.detail-description { margin-top: 50px; padding-top: 30px; border-top: 1px solid #e0e0e0; }
.detail-description h2 { font-size: 22px; font-weight: 700; color: #2c3e50; margin-bottom: 20px; position: relative; padding-left: 14px; }
.detail-description h2::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: #0080c0; border-radius: 2px; }
.detail-description .desc-content { font-size: 15px; line-height: 1.8; color: #444; }
.detail-description .desc-content p { margin-bottom: 12px; }
