/*
Theme Name: Shazhou Garden
Theme URI: https://www.shazhouyuanlin.com
Author: Shazhou Garden
Author URI: https://www.shazhouyuanlin.com
Description: 沙洲园林企业官网主题 - 专为贵州园林绿化苗圃企业设计，内置SEO优化、结构化数据、本地搜索优化、响应式设计。适用于园林绿化、苗木供应、市政绿化、庭院造景等企业官网。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shazhou
Tags: responsive, seo-friendly, business, green, garden, landscaping, chinese
*/

/* ===== 基础重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-green: #2d7a3e;
    --brand-green-dark: #1f5c2e;
    --brand-green-light: #4caf50;
    --brand-red: #d32f2f;
    --brand-red-light: #e53935;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #888888;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--bg-white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section-title { text-align: center; margin-bottom: 10px; }
.section-title h2 { font-size: 2rem; color: var(--text-dark); font-weight: 700; letter-spacing: 2px; }
.section-title .subtitle { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 3px; margin-top: 5px; }
.section-title .divider { width: 50px; height: 3px; background: var(--brand-green); margin: 15px auto; border-radius: 2px; }
.section-desc { text-align: center; color: var(--text-gray); max-width: 800px; margin: 0 auto 40px; font-size: 0.95rem; }

/* ===== 头部导航 ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: var(--transition); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; }
.logo-text { font-size: 1.4rem; font-weight: 700; color: var(--brand-green); letter-spacing: 1px; }
.nav-menu { display: flex; gap: 35px; }
.nav-menu a { font-size: 0.95rem; color: var(--text-dark); position: relative; padding: 5px 0; transition: var(--transition); }
.nav-menu a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--brand-green); transform: scaleX(0); transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--brand-green); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 25px; height: 3px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }

/* ===== Hero ===== */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; margin-top: 70px; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35)); }
.hero-content { position: relative; z-index: 2; color: white; max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: 4px; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content h1 .accent { color: var(--brand-red-light); }
.hero-content .hero-subtitle { font-size: 1.3rem; font-weight: 300; margin-bottom: 30px; letter-spacing: 2px; opacity: 0.95; }
.hero-content .hero-divider { width: 60px; height: 2px; background: white; margin: 0 auto 30px; opacity: 0.6; }
.hero-tags { display: flex; justify-content: center; gap: 15px; margin-bottom: 35px; flex-wrap: wrap; }
.hero-tag { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; backdrop-filter: blur(5px); }
.btn { display: inline-block; padding: 12px 36px; border-radius: 30px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: var(--transition); border: 2px solid white; color: white; background: transparent; }
.btn:hover { background: white; color: var(--brand-green-dark); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.btn-primary { background: var(--brand-green); border-color: var(--brand-green); color: white; }
.btn-primary:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); color: white; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: white; opacity: 0.7; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ===== 统计数据条 ===== */
.stats-bar { background: var(--brand-green); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { color: white; }
.stat-number { font-size: 2.5rem; font-weight: 700; margin-bottom: 5px; }
.stat-label { font-size: 0.95rem; opacity: 0.9; }

/* ===== 企业介绍 ===== */
.about-section { padding: 80px 0; background: var(--bg-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-images { position: relative; }
.about-images .main-img { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-images .main-img img { width: 100%; height: 100%; object-fit: cover; }
.about-images .sub-img { position: absolute; bottom: -30px; right: -20px; width: 200px; height: 130px; border-radius: 10px; overflow: hidden; border: 4px solid white; box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.about-images .sub-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 5px; font-weight: 700; }
.about-content .subtitle { color: var(--text-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 25px; }
.about-content .divider { width: 50px; height: 3px; background: var(--brand-green); margin-bottom: 25px; border-radius: 2px; }
.about-content p { color: var(--text-gray); margin-bottom: 15px; line-height: 2; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.about-feature { display: flex; align-items: center; gap: 10px; color: var(--text-dark); font-size: 0.9rem; }
.about-feature .check { width: 22px; height: 22px; background: var(--brand-green); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }

/* ===== 产品介绍 ===== */
.products-section { padding: 80px 0; background: white; }
.product-categories { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; margin: 40px 0; }
.product-cat { text-align: center; padding: 25px 10px; border-radius: 12px; background: var(--bg-light); transition: var(--transition); cursor: pointer; }
.product-cat:hover { background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.product-cat .icon { width: 60px; height: 60px; margin: 0 auto 12px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.product-cat:hover .icon { background: var(--brand-green); }
.product-cat .name { font-size: 0.9rem; color: var(--text-dark); font-weight: 500; }
.product-cat .items { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; line-height: 1.5; }
.product-showcase { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.product-card { border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: var(--transition); background: white; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.product-card .img { width: 100%; height: 220px; overflow: hidden; }
.product-card .img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .img img { transform: scale(1.08); }
.product-card .info { padding: 20px; }
.product-card .info h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; }
.product-card .info p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.7; }
.product-card .tag { display: inline-block; background: var(--brand-green); color: white; font-size: 0.75rem; padding: 3px 12px; border-radius: 12px; margin-bottom: 10px; }

/* ===== 服务优势 ===== */
.services-section { padding: 80px 0; background: linear-gradient(135deg, #1a3a2a, #2d5a3d); position: relative; overflow: hidden; }
.services-section .section-title h2, .services-section .section-title .subtitle { color: white; }
.services-section .section-desc { color: rgba(255,255,255,0.85); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; position: relative; z-index: 2; }
.service-card { border-radius: 16px; padding: 40px 30px; color: white; position: relative; overflow: hidden; transition: var(--transition); }
.service-card:nth-child(1) { background: linear-gradient(135deg, #2d7a3e, #4caf50); }
.service-card:nth-child(2) { background: linear-gradient(135deg, #e65100, #ff9800); }
.service-card:nth-child(3) { background: linear-gradient(135deg, #1b5e20, #43a047); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.service-card .icon { width: 70px; height: 70px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 2rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 700; }
.service-card p { font-size: 0.9rem; line-height: 1.9; opacity: 0.95; }
.service-card .num { position: absolute; top: 15px; right: 25px; font-size: 4rem; font-weight: 700; opacity: 0.15; }

/* ===== 行业案例 ===== */
.cases-section { padding: 80px 0; background: var(--bg-light); }
.cases-intro { text-align: center; color: var(--text-gray); max-width: 800px; margin: 0 auto 40px; }
.cases-slider { position: relative; max-width: 900px; margin: 0 auto; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); }
.cases-slides { display: flex; transition: transform 0.5s ease; }
.cases-slide { min-width: 100%; position: relative; }
.cases-slide img { width: 100%; height: 500px; object-fit: cover; }
.cases-slide .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; padding: 40px 30px 25px; }
.cases-slide .caption h3 { font-size: 1.3rem; margin-bottom: 8px; }
.cases-slide .caption p { font-size: 0.9rem; opacity: 0.9; }
.cases-nav { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.cases-nav button { padding: 8px 24px; border: 1px solid var(--text-light); background: transparent; color: var(--text-gray); border-radius: 25px; cursor: pointer; font-size: 0.85rem; transition: var(--transition); }
.cases-nav button:hover { background: var(--brand-green); border-color: var(--brand-green); color: white; }
.cases-dots { display: flex; justify-content: center; gap: 8px; margin-top: 15px; }
.cases-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: var(--transition); }
.cases-dots .dot.active { background: var(--brand-green); width: 30px; border-radius: 5px; }

/* ===== 服务区域 ===== */
.service-area-section { padding: 60px 0; background: white; }
.area-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-top: 30px; }
.area-item { text-align: center; padding: 20px 10px; border: 1px solid #e0e0e0; border-radius: 10px; transition: var(--transition); }
.area-item:hover { border-color: var(--brand-green); background: rgba(45, 122, 62, 0.05); }
.area-item .icon { font-size: 1.5rem; margin-bottom: 8px; }
.area-item .name { font-size: 0.9rem; color: var(--text-dark); font-weight: 500; }

/* ===== 联系我们 ===== */
.contact-section { padding: 80px 0; background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-info { background: white; border-radius: 16px; padding: 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.06); }
.contact-info h3 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid var(--bg-light); }
.contact-person { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.contact-person:last-of-type { border-bottom: none; }
.contact-person .avatar { width: 45px; height: 45px; background: var(--brand-green); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 500; }
.contact-person .info { flex: 1; }
.contact-person .name { font-size: 1rem; color: var(--text-dark); font-weight: 500; }
.contact-person .phone { font-size: 1.1rem; color: var(--brand-green); font-weight: 600; }
.contact-address { margin-top: 25px; padding-top: 20px; border-top: 2px solid var(--bg-light); }
.contact-address h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 10px; }
.contact-address p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.8; }
.contact-address .map-link { display: inline-block; margin-top: 10px; color: var(--brand-green); font-size: 0.85rem; border-bottom: 1px solid var(--brand-green); }
.contact-form { background: white; border-radius: 16px; padding: 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.06); }
.contact-form h3 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid var(--bg-light); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 0.9rem; font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(45,122,62,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-submit { width: 100%; padding: 14px; background: var(--brand-green); color: white; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: var(--brand-green-dark); transform: translateY(-1px); box-shadow: 0 5px 15px rgba(45,122,62,0.3); }

/* ===== Footer ===== */
.footer { background: #1a2e22; color: rgba(255,255,255,0.7); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 35px; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 18px; font-weight: 500; }
.footer-col p { font-size: 0.85rem; line-height: 1.9; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--brand-green-light); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-logo .logo-icon { width: 35px; height: 35px; }
.footer-logo .logo-text { font-size: 1.2rem; color: white; }
.footer-qr { text-align: center; }
.footer-qr .qr-box { width: 120px; height: 120px; background: white; border-radius: 8px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.75rem; }
.footer-qr p { font-size: 0.8rem; text-align: center; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--brand-green-light); }

/* ===== 悬浮按钮 ===== */
.float-buttons { position: fixed; right: 20px; bottom: 100px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--brand-green); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: var(--transition); border: none; }
.float-btn:hover { transform: scale(1.1); background: var(--brand-green-dark); }
.float-btn.phone { background: var(--brand-red); }
.float-btn.phone:hover { background: var(--brand-red-light); }

/* ===== 文章/博客页面 ===== */
.page-banner { margin-top: 70px; height: 300px; background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green)); display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.page-banner h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: 3px; margin-bottom: 10px; }
.page-banner .subtitle { font-size: 0.9rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 3px; }
.blog-section { padding: 60px 0; background: var(--bg-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.06); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.blog-card .img { width: 100%; height: 200px; overflow: hidden; }
.blog-card .img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .img img { transform: scale(1.08); }
.blog-card .info { padding: 25px; }
.blog-card .info .date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.blog-card .info h3 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.5; }
.blog-card .info h3 a { transition: var(--transition); }
.blog-card .info h3 a:hover { color: var(--brand-green); }
.blog-card .info p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.7; }
.blog-card .info .read-more { display: inline-block; margin-top: 12px; color: var(--brand-green); font-size: 0.85rem; }

.single-post-area { padding: 60px 0; background: white; }
.single-post-area .container { max-width: 900px; }
.single-post-area .post-header { text-align: center; margin-bottom: 40px; }
.single-post-area .post-header h1 { font-size: 2rem; color: var(--text-dark); margin-bottom: 15px; }
.single-post-area .post-header .meta { font-size: 0.85rem; color: var(--text-light); }
.single-post-area .post-content { line-height: 2; }
.single-post-area .post-content p { margin-bottom: 20px; color: var(--text-gray); }
.single-post-area .post-content h2, .single-post-area .post-content h3 { color: var(--text-dark); margin: 30px 0 15px; }
.single-post-area .post-content img { border-radius: 10px; margin: 20px 0; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 0.9rem; color: var(--text-gray); transition: var(--transition); }
.pagination a:hover, .pagination .current { background: var(--brand-green); color: white; border-color: var(--brand-green); }

/* ===== 404页面 ===== */
.error-404 { padding: 120px 20px 80px; text-align: center; }
.error-404 h1 { font-size: 6rem; color: var(--brand-green); font-weight: 700; }
.error-404 h2 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 15px; }
.error-404 p { color: var(--text-gray); margin-bottom: 25px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); gap: 15px; }
    .nav-menu.show { display: flex; }
    .nav-toggle { display: flex; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content .hero-subtitle { font-size: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-images .sub-img { display: none; }
    .product-categories { grid-template-columns: repeat(3, 1fr); }
    .product-showcase { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .area-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .cases-slide img { height: 300px; }
    .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .product-categories { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
}/* === 沙洲园林 新增样式（产品/页面/组件） === */
:root{ --sz-red:#c8161d; --sz-red-d:#a3120f; --sz-ink:#222; --sz-grey:#666; --sz-line:#e8e8e8; --sz-bg:#f7f7f8; }
.sz-wrap{max-width:1180px;margin:0 auto;padding:24px 18px 48px;}
.sz-bread{font-size:13px;color:var(--sz-grey);margin:6px 0 14px;}
.sz-bread a{color:var(--sz-grey);text-decoration:none;}
.sz-bread a:hover{color:var(--sz-red);}
.sz-sec-title{font-size:22px;color:var(--sz-ink);margin:0 0 16px;padding-left:12px;border-left:4px solid var(--sz-red);}
.sz-block{margin:30px 0;}
.sz-muted{color:var(--sz-grey);font-size:13px;}

/* hero */
.sz-page-hero{padding:38px 22px;text-align:center;color:#fff;border-radius:10px;margin-bottom:8px;}
.sz-hero-red{background:linear-gradient(135deg,var(--sz-red),var(--sz-red-d));}
.sz-page-hero h1{font-size:30px;margin:0 0 8px;}
.sz-page-hero p{margin:0;opacity:.92;}

/* grid + card */
.sz-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.sz-card{display:block;background:#fff;border:1px solid var(--sz-line);border-radius:10px;overflow:hidden;text-decoration:none;color:var(--sz-ink);transition:.18s;}
.sz-card:hover{box-shadow:0 6px 18px rgba(0,0,0,.10);transform:translateY(-2px);border-color:var(--sz-red);}
.sz-card-img{aspect-ratio:4/3;background:var(--sz-bg);display:flex;align-items:center;justify-content:center;color:var(--sz-grey);font-size:13px;overflow:hidden;}
.sz-card-img img{width:100%;height:100%;object-fit:cover;display:block;}
.sz-card-name{padding:10px 12px;font-size:15px;font-weight:600;}
.sz-card-spec{padding:0 12px 12px;color:var(--sz-grey);font-size:13px;}

/* product detail */
.sz-prod{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:start;margin-top:10px;}
.sz-prod-gallery .sz-main-img{border:1px solid var(--sz-line);border-radius:10px;overflow:hidden;background:var(--sz-bg);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;color:var(--sz-grey);}
.sz-prod-gallery .sz-main-img img{width:100%;height:100%;object-fit:cover;}
.sz-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;}
.sz-thumbs img{width:72px;height:72px;object-fit:cover;border:1px solid var(--sz-line);border-radius:8px;cursor:pointer;}
.sz-thumbs img:hover{border-color:var(--sz-red);}
.sz-prod-title{font-size:26px;margin:0 0 10px;color:var(--sz-ink);}
.sz-prod-spec,.sz-prod-cat{font-size:15px;color:var(--sz-grey);margin:6px 0;}
.sz-prod-cat a{color:var(--sz-red);text-decoration:none;}
.sz-prod-desc{font-size:15px;line-height:1.9;color:#333;margin:14px 0;}
.sz-prod-tags{margin:10px 0;}
.sz-tag{display:inline-block;background:var(--sz-bg);border:1px solid var(--sz-line);color:var(--sz-grey);font-size:12px;padding:3px 10px;border-radius:20px;margin:0 6px 6px 0;}
.sz-prod-cta{margin-top:18px;background:#fff7f7;border:1px solid #f3d6d6;border-radius:10px;padding:16px;}
.sz-cta-tip{margin:0 0 10px;color:var(--sz-red-d);font-weight:600;}
.sz-btn{display:inline-block;background:var(--sz-red);color:#fff;text-decoration:none;padding:10px 16px;border-radius:8px;font-size:15px;margin:4px 8px 4px 0;font-weight:600;}
.sz-btn:hover{background:var(--sz-red-d);}
.sz-rel{margin-top:40px;}

/* archive */
.sz-archive-head{text-align:center;margin:6px 0 18px;}
.sz-archive-title{font-size:28px;color:var(--sz-ink);margin:0 0 6px;}
.sz-archive-sub{color:var(--sz-grey);margin:0;}
.sz-cat-nav{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;}
.sz-cat-item{display:inline-block;padding:8px 16px;border:1px solid var(--sz-line);border-radius:24px;text-decoration:none;color:var(--sz-ink);background:#fff;font-size:14px;}
.sz-cat-item:hover{border-color:var(--sz-red);color:var(--sz-red);}
.sz-cat-item.active{background:var(--sz-red);border-color:var(--sz-red);color:#fff;}
.sz-pager{margin-top:26px;text-align:center;}
.sz-empty{color:var(--sz-grey);padding:20px;background:var(--sz-bg);border-radius:8px;}

/* features / services */
.sz-feat-grid,.sz-svc-grid,.sz-cat-cards,.sz-contact-grid{display:grid;gap:16px;}
.sz-feat-grid{grid-template-columns:repeat(4,1fr);}
.sz-svc-grid{grid-template-columns:repeat(3,1fr);}
.sz-cat-cards{grid-template-columns:repeat(4,1fr);}
.sz-contact-grid{grid-template-columns:repeat(2,1fr);}
.sz-feat,.sz-svc,.sz-cat-card,.sz-contact-card{background:#fff;border:1px solid var(--sz-line);border-radius:10px;padding:18px;}
.sz-feat-n{font-size:26px;font-weight:700;color:var(--sz-red);margin-bottom:6px;}
.sz-feat-t{color:var(--sz-grey);font-size:14px;}
.sz-svc h3,.sz-contact-card h3{margin:0 0 8px;color:var(--sz-ink);font-size:17px;}
.sz-svc p,.sz-contact-card p{margin:4px 0;color:#444;font-size:14px;line-height:1.7;}
.sz-cat-card{text-decoration:none;color:inherit;transition:.18s;}
.sz-cat-card:hover{box-shadow:0 6px 18px rgba(0,0,0,.10);transform:translateY(-2px);border-color:var(--sz-red);}
.sz-cat-card-n{font-size:17px;font-weight:700;color:var(--sz-red);}
.sz-cat-card-d{color:var(--sz-grey);font-size:13px;margin-top:4px;}

/* lists */
.sz-list{margin:8px 0;padding-left:20px;color:#444;line-height:2;}
.sz-list li{margin:4px 0;}
.sz-num{padding-left:22px;}

/* cta block */
.sz-cta-block{background:#fff7f7;border:1px solid #f3d6d6;border-radius:10px;padding:20px;margin-top:30px;}
.sz-cta-line{font-size:17px;font-weight:600;color:var(--sz-ink);}
.sz-cta-line a{color:var(--sz-red);text-decoration:none;}

/* responsive */
@media (max-width:900px){
  .sz-grid{grid-template-columns:repeat(3,1fr);}
  .sz-prod{grid-template-columns:1fr;}
  .sz-feat-grid,.sz-sat-cards,.sz-cat-cards{grid-template-columns:repeat(2,1fr);}
  .sz-svc-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
  .sz-grid{grid-template-columns:repeat(2,1fr);}
  .sz-feat-grid,.sz-svc-grid,.sz-cat-cards,.sz-contact-grid{grid-template-columns:1fr;}
  .sz-page-hero h1{font-size:24px;}
}

/* ===== 产品中心 v2：按品类分组 + 密集小图网格 ===== */
.sz-grid-dense{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px;}
.sz-card-sm .sz-card-img{aspect-ratio:1/1;}
.sz-card-sm .sz-card-name{font-size:12px;line-height:1.35;padding:6px 4px;text-align:center;height:32px;overflow:hidden;}
.sz-cat-section{margin-top:30px;}
.sz-cat-title{display:flex;align-items:baseline;gap:10px;font-size:20px;color:var(--sz-ink);margin:0 0 14px;padding-left:12px;border-left:4px solid var(--sz-red);}
.sz-cat-title em{font-style:normal;font-size:13px;color:var(--sz-grey);}
.sz-cat-count{display:inline-block;background:var(--sz-bg);border-radius:10px;padding:0 7px;font-size:12px;color:var(--sz-grey);margin-left:3px;}

/* ===== 页面 hero 图片装饰（关于/服务/联系）===== */
.sz-hero-red{color:#fff;background-image:linear-gradient(rgba(150,12,17,.62),rgba(120,10,14,.72)),url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600&q=80");background-size:cover;background-position:center;}
.sz-hero-red p{color:rgba(255,255,255,.92);}
