/* ========== 温暖服务橙主题（nx22.cn） ========== */
:root {
    --primary: #e67e22;
    --primary-dark: #d35400;
    --primary-light: #f39c12;
    --primary-bg: #fef5e7;
    --accent: #27ae60;
    --accent-dark: #1e8449;
    --dark: #2c3e50;
    --gray-900: #34495e;
    --gray-700: #5d6d7e;
    --gray-500: #95a5a6;
    --gray-300: #d5dbdb;
    --gray-100: #fdfefe;
    --white: #ffffff;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 12px rgba(230,126,34,0.1);
    --shadow-md: 0 8px 24px rgba(230,126,34,0.15);
    --shadow-lg: 0 12px 36px rgba(230,126,34,0.2);
    --transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --max-width: 1200px;
    --font-sans: "Nunito", "Microsoft YaHei", "PingFang SC", sans-serif;
    --warm-gradient: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--gray-900); font-weight: 600; line-height: 1.3; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; align-items: center; gap: 24px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left strong { color: var(--white); font-weight: 600; }
.top-bar-right a { color: rgba(255,255,255,0.85); margin-left: 16px; }
.top-bar-right a:hover { color: var(--white); }

/* ===== 主导航 ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo a { display: flex; align-items: center; gap: 12px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 22px; font-weight: 700; color: var(--primary-dark); line-height: 1.2; }
.logo-text p { font-size: 12px; color: var(--gray-500); letter-spacing: 1px; margin: 0; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-item > .nav-link {
    display: block;
    padding: 10px 18px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav > a:hover, .nav-item > .nav-link:hover { color: var(--primary); background: var(--primary-bg); }
.nav > a.active, .nav-item.active > .nav-link { color: var(--primary); background: var(--primary-bg); font-weight: 600; }

/* 下拉菜单 */
.nav-item { position: relative; }
.nav-item.has-dropdown > .nav-link { display: flex; align-items: center; gap: 4px; }
.dropdown-arrow { font-size: 10px; transition: transform 0.2s; }
.nav-item.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 1001;
    border: 1px solid var(--gray-100);
}
.nav-item.has-dropdown:hover > .dropdown-menu { display: block; }
.dropdown-inner { display: flex; flex-direction: column; }
.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-size: 14px;
    transition: var(--transition);
}
.dropdown-item:hover, .dropdown-item.active {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 24px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

/* 移动端菜单 */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: var(--transition); }

/* ===== 首页Banner ===== */
.hero-banner {
    position: relative;
    height: 460px;
    background: var(--warm-gradient);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 600px; }
.hero-content h1 { font-size: 42px; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.hero-content p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; line-height: 1.6; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}
.hero-btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 16px rgba(255,107,53,0.4); }
.hero-btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
.hero-btn-outline { border: 2px solid rgba(255,255,255,0.5); color: var(--white); }
.hero-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

/* ===== 通用Section ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--gray-100); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-header h2 span { color: var(--primary); }
.section-header p { font-size: 16px; color: var(--gray-500); }
.section-divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); margin: 16px auto 0; border-radius: 2px; }

/* ===== 核心优势 ===== */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}
.advantage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--warm-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(230,126,34,0.3);
}
.advantage-card h3 { font-size: 18px; margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ===== 产品展示 ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-img { position: relative; height: 200px; overflow: hidden; background: var(--gray-100); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; margin-bottom: 8px; }
.product-info h3 a { color: var(--gray-900); }
.product-info h3 a:hover { color: var(--primary); }
.product-info p { font-size: 13px; color: var(--gray-500); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 工程案例 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover img { transform: scale(1.1); }
.case-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}
.case-overlay h3 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.case-overlay p { font-size: 13px; opacity: 0.8; }

/* ===== 服务流程 ===== */
.process-steps { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.process-step { flex: 1; text-align: center; position: relative; padding: 0 10px; }
.process-step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: var(--gray-300);
    z-index: 1;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--gray-500); }

/* ===== CTA区域 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    color: var(--white);
}
.cta-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.cta-content h3 { color: var(--white); font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.cta-content p { font-size: 16px; opacity: 0.9; }
.cta-phone { display: flex; align-items: center; gap: 16px; }
.cta-phone .icon {
    width: 60px; height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    animation: pulse 2s infinite;
}
.cta-phone .text span { font-size: 14px; opacity: 0.8; }
.cta-phone .text strong { font-size: 28px; font-weight: 700; display: block; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255,107,53,0); }
}

/* ===== 底部 ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; line-height: 1.6; }
.footer-contact .icon { color: var(--accent); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== 内页通用 ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 50px 0;
    color: var(--white);
    text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 32px; margin-bottom: 8px; }
.breadcrumb { font-size: 14px; opacity: 0.8; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }

.page-layout { display: flex; gap: 30px; padding: 50px 0; }
.page-main { flex: 1; min-width: 0; }
.page-sidebar { width: 280px; flex-shrink: 0; }

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.sidebar-links li { margin-bottom: 10px; }
.sidebar-links a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: 14px;
    transition: var(--transition);
}
.sidebar-links a:hover, .sidebar-links a.active {
    background: var(--primary-bg);
    color: var(--primary);
}

/* 文章列表 */
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.article-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.article-thumb { width: 200px; height: 140px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--gray-100); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-content { flex: 1; min-width: 0; }
.article-content h3 { font-size: 18px; margin-bottom: 10px; }
.article-content h3 a { color: var(--gray-900); }
.article-content h3 a:hover { color: var(--primary); }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.article-summary { font-size: 14px; color: var(--gray-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
}
.pagination a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); font-weight: 600; }

/* 文章详情 */
.article-detail {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.article-detail h1 { font-size: 28px; margin-bottom: 16px; line-height: 1.4; }
.article-detail-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-500);
}
.article-body { font-size: 16px; line-height: 1.9; color: var(--gray-700); }
.article-body p { margin-bottom: 20px; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 20px 0; }
.article-body h2, .article-body h3 { margin: 30px 0 15px; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .advantage-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .page-sidebar { display: none; }
    .process-steps { flex-wrap: wrap; gap: 30px; }
    .process-step { flex: 0 0 33.33%; }
    .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header .container { height: 60px; }
    .logo-name { font-size: 18px; }
    .logo-text p { display: none; }
    .header-phone { display: none; }
    .menu-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 60px; left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .nav.mobile-open { transform: translateY(0); }
    .nav > a, .nav-item > .nav-link { width: 100%; padding: 14px 16px; text-align: center; }
    .dropdown-menu { position: static; box-shadow: none; border: none; padding: 0; background: var(--gray-100); border-radius: 0; width: 100%; }
    .dropdown-item { text-align: center; padding: 12px 16px; border-bottom: 1px solid var(--gray-300); }
    
    .hero-banner { height: 360px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 24px; }
    
    .advantage-grid, .product-grid, .case-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .article-item { flex-direction: column; }
    .article-thumb { width: 100%; height: 180px; }
    
    .process-step { flex: 0 0 50%; }
    
    .cta-wrap { flex-direction: column; text-align: center; }
    .cta-content h3 { font-size: 22px; }
    .cta-phone .text strong { font-size: 22px; }
    
    .article-detail { padding: 24px; }
    .article-detail h1 { font-size: 22px; }
}


/* ========== 产品列表页专用样式 ========== */
.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.product-list-header .count {
    font-size: 15px;
    color: var(--gray-700);
}
.product-list-header .count strong {
    color: var(--primary);
    font-size: 20px;
    margin: 0 4px;
}
.product-list-header .sort {
    display: flex;
    gap: 8px;
}
.product-list-header .sort a {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-500);
    transition: var(--transition);
}
.product-list-header .sort a:hover,
.product-list-header .sort a.active {
    background: var(--primary);
    color: var(--white);
}

/* 产品列表卡片 */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-list-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.product-list-card .img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}
.product-list-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-list-card:hover .img-wrap img {
    transform: scale(1.08);
}
.product-list-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}
.product-list-card .body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-list-card .body h3 {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.product-list-card .body h3 a {
    color: var(--gray-900);
}
.product-list-card .body h3 a:hover {
    color: var(--primary);
}
.product-list-card .body .desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.product-list-card .body .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
    font-size: 12px;
    color: var(--gray-500);
}
.product-list-card .body .meta .date {
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-list-card .body .meta .views {
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-list-card .body .detail-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}
.product-list-card:hover .body .detail-btn {
    background: var(--primary);
    color: var(--white);
}

/* 侧边栏优化 */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: 24px;
}
.sidebar-card .title {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}
.sidebar-card .content {
    padding: 12px;
}
.sidebar-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: 14px;
    transition: var(--transition);
    margin-bottom: 4px;
}
.sidebar-category-item:hover {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 20px;
}
.sidebar-category-item.active {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}
.sidebar-category-item .count {
    background: var(--gray-100);
    color: var(--gray-500);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.sidebar-category-item.active .count {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}
.sidebar-contact {
    text-align: center;
    padding: 24px 20px;
}
.sidebar-contact .phone-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: pulse 2s infinite;
}
.sidebar-contact .phone-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.sidebar-contact .phone-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

/* ========== 产品详情页专用样式 ========== */
.product-detail-wrap {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    margin-bottom: 30px;
}
.product-detail-top {
    display: flex;
    gap: 30px;
    padding: 30px;
}
.product-detail-gallery {
    flex: 0 0 45%;
    max-width: 45%;
}
.product-detail-main-img {
    width: 100%;
    height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.product-detail-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-detail-info {
    flex: 1;
    min-width: 0;
}
.product-detail-info .cat-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.product-detail-info h1 {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--gray-900);
}
.product-detail-info .meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--gray-500);
}
.product-detail-info .meta-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-detail-info .intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 24px;
}
.product-detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-consult {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}
.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
    color: var(--white);
}
.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-detail:hover {
    background: var(--primary);
    color: var(--white);
}

/* 产品详情正文 */
.product-detail-body {
    padding: 30px;
    border-top: 1px solid var(--gray-100);
}
.product-detail-body .section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
}
.product-detail-body .content {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-700);
}
.product-detail-body .content p {
    margin-bottom: 18px;
}
.product-detail-body .content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 20px auto;
    display: block;
    box-shadow: var(--shadow-sm);
}
.product-detail-body .content h2,
.product-detail-body .content h3 {
    margin: 30px 0 15px;
    color: var(--gray-900);
}

/* 相关产品 */
.related-products {
    margin-top: 30px;
}
.related-products .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.related-card .img {
    height: 140px;
    overflow: hidden;
    background: var(--gray-100);
}
.related-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.related-card:hover .img img {
    transform: scale(1.08);
}
.related-card .info {
    padding: 14px;
}
.related-card .info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
}
.related-card .info h4 a {
    color: var(--gray-900);
}
.related-card .info h4 a:hover {
    color: var(--primary);
}
.related-card .info .date {
    font-size: 12px;
    color: var(--gray-500);
}

/* 响应式 */
@media (max-width: 992px) {
    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail-top {
        flex-direction: column;
    }
    .product-detail-gallery {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .product-list-grid {
        grid-template-columns: 1fr;
    }
    .product-list-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .product-detail-top {
        padding: 20px;
    }
    .product-detail-main-img {
        height: 260px;
    }
    .product-detail-info h1 {
        font-size: 20px;
    }
    .product-detail-body {
        padding: 20px;
    }
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .related-card .img {
        height: 100px;
    }
}


/* ========== 参考网站风格 - 产品列表页 ========== */
.ref-page-wrap {
    padding: 30px 0;
    background: var(--gray-50);
}
.ref-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.ref-sidebar {
    flex: 0 0 260px;
    max-width: 260px;
}
.ref-main {
    flex: 1;
    min-width: 0;
}

/* 侧边栏模块 */
.ref-sidebar-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
}
.ref-sidebar-title {
    padding: 14px 18px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 3px solid var(--accent);
}
.ref-sidebar-title small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 6px;
}
.ref-sidebar-body {
    padding: 10px 0;
}
.ref-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ref-sidebar-list li {
    margin: 0;
}
.ref-sidebar-list a {
    display: block;
    padding: 10px 18px;
    color: var(--gray-700);
    font-size: 14px;
    border-bottom: 1px dashed var(--gray-100);
    transition: var(--transition);
    position: relative;
}
.ref-sidebar-list a:hover {
    color: var(--primary);
    background: var(--primary-bg);
    padding-left: 24px;
}
.ref-sidebar-list a.active {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-bg);
}
.ref-sidebar-list a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
}

/* 侧边栏联系我们 */
.ref-sidebar-contact {
    padding: 18px;
    text-align: center;
}
.ref-sidebar-contact .company {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.5;
}
.ref-sidebar-contact .item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-600);
    text-align: left;
}
.ref-sidebar-contact .item .label {
    flex-shrink: 0;
    color: var(--gray-500);
}
.ref-sidebar-contact .phone-big {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin: 10px 0;
}

/* 主内容区标题栏 */
.ref-main-header {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
}
.ref-main-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    padding: 14px 0;
}
.ref-main-title small {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
    margin-left: 8px;
}
.ref-breadcrumb {
    font-size: 13px;
    color: var(--gray-500);
}
.ref-breadcrumb a {
    color: var(--gray-500);
}
.ref-breadcrumb a:hover {
    color: var(--primary);
}

/* 产品列表网格（参考风格） */
.ref-product-grid {
    overflow: hidden;
    margin: 0 -10px;
}
.ref-product-grid::after {
    content: "";
    display: block;
    clear: both;
}
.ref-product-card {
    float: left;
    width: 33.33%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.ref-product-card > div,
.ref-product-card > a {
    background: #fff;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
}
.ref-product-card:hover > div,
.ref-product-card:hover > a {
    border-color: #1a5fb4;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.ref-product-card .title {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #f8f9fa;
    background: #fafbfc;
}
.ref-product-card .title a {
    color: var(--gray-900);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ref-product-card .title a:hover {
    color: var(--primary);
}
.ref-product-card .img {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}
.ref-product-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ref-product-card:hover .img img {
    transform: scale(1.08);
}

/* 分页（参考风格） */
.ref-pager {
    margin-top: 24px;
    text-align: center;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}
.ref-pager .info {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 10px;
}
.ref-pager .pages {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.ref-pager a, .ref-pager span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--gray-200);
    font-size: 13px;
    color: var(--gray-700);
    transition: var(--transition);
}
.ref-pager a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.ref-pager .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ========== 参考网站风格 - 产品详情页 ========== */
.ref-detail-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 30px;
}
.ref-detail-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}
.ref-detail-header h1 {
    font-size: 24px;
    line-height: 1.5;
    color: var(--gray-900);
    margin-bottom: 14px;
}
.ref-detail-meta {
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ref-detail-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 详情正文 */
.ref-detail-body {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-700);
}
.ref-detail-body p {
    margin-bottom: 16px;
    text-indent: 2em;
}
.ref-detail-body img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    border: 1px solid var(--gray-200);
}
.ref-detail-body h2, .ref-detail-body h3 {
    margin: 28px 0 14px;
    color: var(--gray-900);
}

/* 产品详情顶部图 */
.ref-detail-topimg {
    text-align: center;
    margin-bottom: 24px;
}
.ref-detail-topimg img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--gray-200);
    max-height: 400px;
}

/* 标签 */
.ref-detail-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--gray-200);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.ref-detail-tags .label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 600;
}
.ref-detail-tags a {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 13px;
    border-radius: 3px;
    transition: var(--transition);
}
.ref-detail-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* 上下篇 */
.ref-detail-prevnext {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}
.ref-detail-prevnext .row {
    display: flex;
    padding: 6px 0;
    font-size: 14px;
}
.ref-detail-prevnext .row .label {
    flex-shrink: 0;
    width: 70px;
    color: var(--gray-500);
    font-weight: 600;
}
.ref-detail-prevnext .row a {
    color: var(--gray-700);
    flex: 1;
}
.ref-detail-prevnext .row a:hover {
    color: var(--primary);
}
.ref-detail-prevnext .row .date {
    color: var(--gray-400);
    font-size: 12px;
    flex-shrink: 0;
}

/* 相关推荐 */
.ref-related {
    margin-top: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}
.ref-related-title {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    border-bottom: 2px solid var(--primary);
}
.ref-related-list {
    list-style: none;
    margin: 0;
    padding: 10px 20px;
}
.ref-related-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-100);
    margin: 0;
}
.ref-related-list li:last-child {
    border-bottom: none;
}
.ref-related-list a {
    color: var(--gray-700);
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
}
.ref-related-list a:hover {
    color: var(--primary);
}
.ref-related-list .date {
    color: var(--gray-400);
    font-size: 12px;
    flex-shrink: 0;
}

/* 响应式 */
@media (max-width: 992px) {
    .ref-layout {
        flex-direction: column;
    }
    .ref-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .ref-product-card {
        width: 50%;
    }
}
@media (max-width: 768px) {
    .ref-product-card {
        width: 100%;
    }
    .ref-detail-wrap {
        padding: 20px 16px;
    }
    .ref-detail-header h1 {
        font-size: 18px;
    }
    .ref-main-header {
        flex-direction: column;
        padding: 10px 16px;
        gap: 6px;
    }
}
