/* ===================================
   云南生态农产品产业平台 - 全站公共样式
   主题：生态绿 + 高级金 (适配云品出滇/高原生态农业调性)
   配色参考：yn-eco 官方平台
   =================================== */

/* CSS Variables */
:root {
    /* 主品牌色 - 云南高原生态绿 */
    --primary-color: #0e7c3a;        /* 主色 · 高原绿 */
    --primary-dark: #0a5d2c;         /* 暗色 · hover/active/标题加深 */
    --primary-light: #1f9c52;        /* 浅色 · 嫩绿点缀 */
    --primary-pale: #e8f3ec;         /* 极浅 · 背景/分隔 */
    --primary-rgb: 14, 124, 58;      /* 主色 RGB(用于阴影/透明度) */

    /* 辅助色 - 高级金（云品点缀/老字号标签） */
    --gold: #c8a85b;                 /* 暗金 · 礼盒/老字号徽章 */
    --gold-deep: #a3813a;            /* 深金 · 渐变末端/描边 */
    --gold-light: #e6cc83;           /* 浅金 · 高光/分隔 */

    /* 辅助色 - 科技蓝（数字溯源/区块链节点） */
    --tech: #1e4e8c;                 /* 科技蓝 · 溯源板块 */
    --tech-light: #3b75b8;           /* 浅科技蓝 */

    /* 中性色 - 大地色（云南高原风土） */
    --earth: #f8f6f0;                /* 米白 · 主背景 */
    --earth-deep: #ede6d3;           /* 深米 · 二级背景 */
    --secondary-color: #f8f6f0;      /* 同 earth */
    --bg-cream: #fdf9f4;             /* 浅米 · 卡片底色 */
    --text-dark: #1a2e1f;            /* 主文字 · 墨绿黑 */
    --text-light: #6b6759;           /* 次文字 · 暖灰 */
    --text-muted: #b8b1a0;           /* 弱文字 · 浅米灰 */
    --white: #ffffff;
    --border-color: #e8e3d6;         /* 暖米灰边框 */

    /* 效果 */
    --shadow: 0 2px 8px rgba(14,124,58,.06);     /* 主色阴影 sm */
    --shadow-md: 0 8px 24px rgba(14,124,58,.10); /* 主色阴影 md */
    --shadow-lg: 0 20px 60px rgba(14,124,58,.15);/* 主色阴影 lg */
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header 头部导航
   =================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--white);
}

.header-top a:hover {
    opacity: 0.8;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-btn {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 16px;
    color: var(--text-dark);
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===================================
   Hero Banner
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-qrcodes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.qrcode-item {
    text-align: center;
}

.qrcode-box {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.qrcode-item span {
    font-size: 14px;
    color: white;
    opacity: 0.9;
}

/* 新闻中心空状态 - 当 news-list 内容为空时显示占位卡片 */
.news-empty {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-cream);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
    margin-top: 10px;
}
.news-list:empty + .news-empty {
    display: block;
}
.news-list:not(:empty) + .news-empty {
    display: none;
}

/* 二维码缺失占位提示 - 后台只上传一张图时，其他两个会触发 */
.qrcode-box.qrcode-missing {
    background: rgba(255, 255, 255, 0.85);
    border: 2px dashed rgba(255, 255, 255, 0.6);
    box-shadow: none;
}
.qrcode-box.qrcode-missing::after {
    content: "码待替换";
    font-size: 12px;
    color: rgba(110, 13, 11, 0.6);
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color)!important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}



/* ===================================
   Section 通用
   =================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto;
}

.bg-light {
    background: var(--secondary-color);
}

/* ===================================
   Card 卡片
   =================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-body .card-link {
    color: var(--primary-color);
    font-size: 14px;
}

.card-body .card-link:hover {
    text-decoration: underline;
}

/* ===================================
   Features 特色服务
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===================================
   About Section
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
}

.about-img img {
    width: 100%;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===================================
   News List 新闻列表
   =================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-img {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===================================
   Breadcrumb 面包屑
   =================================== */
.breadcrumb {
    background: var(--secondary-color);
    padding: 15px 0;
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-list li {
    color: var(--text-light);
}

.breadcrumb-list li a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: var(--text-muted);
}

/* ===================================
   Page Header 页面标题
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===================================
   Detail Page 文章详情
   =================================== */
.article-detail {
    background: var(--white);
    padding: 60px 0;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-meta {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    gap: 30px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.article-content h2, .article-content h3 {
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.article-content img {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 8px;
}

/* ===================================
   Sidebar 侧边栏
   =================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-box h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-dark);
}

.sidebar-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-box ul li:last-child {
    border-bottom: none;
}

.sidebar-box ul li a:hover {
    color: var(--primary-color);
}

/* ===================================
   Contact 联系方式
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkcode-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.checkcode-wrapper input {
    flex: 1;
}

.checkcode-wrapper img {
    height: 44px;
    border-radius: 5px;
    cursor: pointer;
}

/* ===================================
   Footer 页脚
   =================================== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-about h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #999;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-column ul li {
    margin-bottom: 12px;
    color: #aaa;
}

.footer-column ul li a {
    color: #999;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-column .nav-two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.footer-column .nav-two-column li {
    margin-bottom: 0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* ===================================
   Pagination 分页
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ===================================
   Tags 标签
   =================================== */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    padding: 5px 15px;
    background: var(--secondary-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===================================
   Responsive 响应式
   =================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: span 2;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-top {
        display: none;
    }

    .header-main {
        padding: 10px 0;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 60px 20px 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition);
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 14px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-btns {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-qrcodes {
        gap: 20px;
        margin: 20px 0;
    }

    .qrcode-box {
        width: 80px;
        height: 80px;
    }

    .qrcode-box svg {
        width: 70px;
        height: 70px;
    }

    .qrcode-item span {
        font-size: 12px;
    }

    .hero-btns .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-list li {
        font-size: 14px;
        padding: 8px 0;
        padding-left: 25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 20px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon svg {
        width: 30px;
        height: 30px;
    }

    .feature-item h3 {
        font-size: 16px;
    }

    .feature-item p {
        font-size: 13px;
    }

    .news-item {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .news-img {
        width: 100%;
        height: 180px;
    }

    .news-content h3 {
        font-size: 16px;
    }

    .news-content p {
        font-size: 13px;
    }

    .news-meta {
        font-size: 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 20px;
    }

    .contact-item {
        margin-bottom: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column ul li {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    .section-header .line {
        width: 50px;
        height: 2px;
    }

    .card-grid {
        gap: 15px;
    }

    .card-img {
        height: 160px;
    }

    .card-body {
        padding: 15px;
    }

    .card-body h3 {
        font-size: 16px;
    }

    .card-body p {
        font-size: 13px;
    }

    .card-body .card-link {
        font-size: 13px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 13px;
    }

    .breadcrumb {
        padding: 10px 0;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }
}

/* ===================================
   Animation 动画
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===================================
   Products Detail 产品详情
   =================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    padding: 60px 0;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.product-price {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-price span {
    font-size: 16px;
    color: var(--text-muted);
}

.product-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    padding: 10px 15px;
    background: var(--secondary-color);
    border-radius: 5px;
    font-size: 14px;
}

.spec-item strong {
    color: var(--text-dark);
    margin-right: 10px;
}

/* ===================================
   Solutions 解决方案
   =================================== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-item {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.solution-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

.solution-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.solution-item p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ===================================
   Service 服务
   =================================== */
.service-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-step {
    text-align: center;
    position: relative;
}

.service-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.service-step:last-child::after {
    display: none;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.service-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-step p {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .service-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-step::after {
        display: none;
    }

    .step-num {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .service-step h4 {
        font-size: 16px;
    }

    .service-step p {
        font-size: 13px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0;
    }

    .product-gallery {
        position: static;
    }

    .product-main-img {
        height: 300px;
    }

    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-thumbnails img {
        height: 60px;
    }

    .product-info h1 {
        font-size: 22px;
    }

    .product-price {
        font-size: 26px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-item {
        padding: 25px 20px;
    }

    .solution-icon {
        width: 70px;
        height: 70px;
    }

    .solution-icon svg {
        width: 35px;
        height: 35px;
    }

    .solution-item h3 {
        font-size: 18px;
    }

    .solution-item p {
        font-size: 14px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .article-detail {
        padding: 30px 0;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .article-content p {
        font-size: 15px;
    }
}

/* ===================================
   PbootCMS 兼容样式
   =================================== */

/* 通用按钮变体 */
.btn-primary-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.btn-primary-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 分类导航按钮 */
.sort-nav-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.sort-nav-btn:hover,
.sort-nav-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Pagination - PbootCMS 分页兼容 */
.pagination a,
.pagination span,
.pagination .page-item a,
.pagination .page-item span {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .current,
.pagination .active,
.pagination span.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 内容区域通用样式 */
.content {
    line-height: 1.8;
    color: var(--text-light);
}

.content p {
    margin-bottom: 20px;
}

.content h2,
.content h3,
.content h4 {
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.content ul,
.content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.content img {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 8px;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content table th,
.content table td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.content table th {
    background: var(--secondary-color);
    font-weight: 600;
}

/* 页面容器 */
.pages {
    padding: 40px 0;
}



/* 搜索表单 */
.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 分类按钮组 - sortnav 补充 */
.sortnav-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.sortnav-group a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.sortnav-group a:hover,
.sortnav-group a.active {
    background: var(--primary-color);
    color: var(--white);
}