/* ================================================================
   滢之澜主题 - 主样式
   冷制手工皂定制网站
   配色：自然大地色 + 橄榄绿 + 古铜金
   ================================================================ */

/* ---- CSS 变量 ---- */
:root {
    --yzl-primary: #8B6F47;        /* 古铜金 */
    --yzl-primary-dark: #6B5435;
    --yzl-primary-light: #C9A961;
    --yzl-secondary: #6B7F4A;      /* 橄榄绿 */
    --yzl-secondary-dark: #4D5C36;
    --yzl-accent: #C9302C;          /* 朱砂红 CTA */
    --yzl-bg: #F5EFE6;              /* 米色背景 */
    --yzl-bg-alt: #FBF8F3;          /* 浅米色 */
    --yzl-text: #2C2A26;            /* 深棕文字 */
    --yzl-text-light: #6B6358;
    --yzl-border: #E5DCC8;
    --yzl-white: #FFFFFF;
    --yzl-shadow: 0 8px 30px rgba(58, 41, 22, 0.08);
    --yzl-shadow-hover: 0 16px 50px rgba(58, 41, 22, 0.15);
    --yzl-radius: 8px;
    --yzl-radius-lg: 16px;
    --yzl-font-cn: "Noto Serif SC", "Source Han Serif", "Songti SC", "STSong", serif;
    --yzl-font-en: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --yzl-container-w: 1280px;
    --yzl-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- 重置与基础 ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--yzl-font-cn);
    font-size: 16px;
    line-height: 1.75;
    color: var(--yzl-text);
    background: var(--yzl-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--yzl-font-cn);
    font-weight: 700;
    line-height: 1.4;
    color: var(--yzl-text);
    margin: 0 0 0.5em;
}
a { color: var(--yzl-primary); text-decoration: none; transition: color var(--yzl-transition); }
a:hover { color: var(--yzl-accent); }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }

.yzl-container {
    max-width: var(--yzl-container-w);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ---- 顶部联系条 ---- */
.yzl-top-bar {
    background: var(--yzl-text);
    color: var(--yzl-bg);
    font-size: 13px;
    padding: 8px 0;
}
.yzl-top-bar .yzl-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.yzl-tagline {
    font-family: var(--yzl-font-en);
    font-style: italic;
    letter-spacing: 0.5px;
    color: var(--yzl-primary-light);
}
.yzl-top-phone i { color: var(--yzl-primary-light); margin-right: 6px; }
.yzl-top-phone strong { color: var(--yzl-white); margin-left: 4px; }

/* ---- 顶部主导航 ---- */
.yzl-header {
    background: var(--yzl-white);
    box-shadow: var(--yzl-shadow);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all var(--yzl-transition);
}
.yzl-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 24px;
}
.yzl-brand a { display: inline-block; }
.yzl-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}
.yzl-logo-cn {
    font-family: var(--yzl-font-cn);
    font-weight: 900;
    font-size: 26px;
    color: var(--yzl-primary);
    letter-spacing: 1px;
}
.yzl-logo-en {
    font-family: var(--yzl-font-en);
    font-style: italic;
    font-size: 12px;
    color: var(--yzl-text-light);
    margin-top: 4px;
    letter-spacing: 1px;
}
.custom-logo { max-height: 64px; width: auto; }

.yzl-nav { flex: 1; display: flex; justify-content: center; }
.yzl-menu, .yzl-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.yzl-menu > li { position: relative; }
.yzl-menu > li > a {
    display: block;
    padding: 12px 18px;
    color: var(--yzl-text);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color var(--yzl-transition);
}
.yzl-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--yzl-primary);
    transition: all var(--yzl-transition);
    transform: translateX(-50%);
}
.yzl-menu > li > a:hover,
.yzl-menu > li.current-menu-item > a,
.yzl-menu > li.current_page_item > a {
    color: var(--yzl-primary);
}
.yzl-menu > li > a:hover::after,
.yzl-menu > li.current-menu-item > a::after,
.yzl-menu > li.current_page_item > a::after {
    width: calc(100% - 36px);
}
.yzl-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--yzl-white);
    min-width: 200px;
    box-shadow: var(--yzl-shadow);
    border-radius: var(--yzl-radius);
    flex-direction: column;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--yzl-transition);
    z-index: 100;
}
.yzl-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.yzl-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--yzl-text);
}
.yzl-menu .sub-menu a:hover { background: var(--yzl-bg); color: var(--yzl-primary); }

.yzl-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--yzl-text);
    cursor: pointer;
    padding: 8px 12px;
}

.yzl-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--yzl-accent);
    color: var(--yzl-white) !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--yzl-transition);
}
.yzl-header-cta:hover {
    background: #A8231F;
    color: var(--yzl-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 48, 44, 0.3);
}

/* ---- Hero ---- */
.yzl-hero {
    position: relative;
    background: linear-gradient(135deg, #4D5C36 0%, #6B7F4A 40%, #8B6F47 100%);
    color: var(--yzl-white);
    padding: 100px 0 80px;
    overflow: hidden;
    isolation: isolate;
}
.yzl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    /* 稍微降低图片饱和度，让叠加的绿调更统一 */
    filter: saturate(0.85) brightness(0.95);
}
.yzl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* 从左到右：左侧深绿渐变（保证文字可读）+ 右侧稍微透明露出图 */
        linear-gradient(105deg,
            rgba(45, 60, 30, 0.85) 0%,
            rgba(45, 60, 30, 0.65) 40%,
            rgba(107, 127, 74, 0.35) 75%,
            rgba(139, 111, 71, 0.25) 100%),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
    z-index: -1;
}
/* 移动端用更小版本的图 */
@media (max-width: 768px) {
    .yzl-hero::before {
        background-image: url('../images/hero-bg-mobile.jpg');
    }
}
.yzl-hero-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: center;
}
.yzl-hero-tagline {
    display: inline-block;
    font-family: var(--yzl-font-en);
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--yzl-white);
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 97, 0.6);
    border-radius: 999px;
    background: rgba(45, 60, 30, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 8px rgba(0, 0, 0, 0.3);
}
.yzl-hero-title {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--yzl-white);
    margin: 0 0 24px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 0 16px rgba(45, 60, 30, 0.5),
        1px 1px 0 rgba(45, 60, 30, 0.8),
        -1px -1px 0 rgba(45, 60, 30, 0.6);
}
.yzl-hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--yzl-white);
    margin: 0 0 36px;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.4);
}
.yzl-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.yzl-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--yzl-radius-lg);
}
.yzl-stat { text-align: center; }
.yzl-stat-num {
    font-family: var(--yzl-font-en);
    font-size: 42px;
    font-weight: 700;
    color: var(--yzl-primary-light);
    line-height: 1;
    margin-bottom: 8px;
}
.yzl-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

/* ---- 按钮 ---- */
.yzl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--yzl-transition);
    line-height: 1.4;
}
.yzl-btn-primary {
    background: var(--yzl-accent);
    color: var(--yzl-white) !important;
    border-color: var(--yzl-accent);
}
.yzl-btn-primary:hover {
    background: #A8231F;
    border-color: #A8231F;
    color: var(--yzl-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 48, 44, 0.3);
}
.yzl-btn-outline {
    background: transparent;
    color: var(--yzl-primary) !important;
    border-color: var(--yzl-primary);
}
.yzl-btn-outline:hover {
    background: var(--yzl-primary);
    color: var(--yzl-white) !important;
}
.yzl-btn-outline-light {
    background: transparent;
    color: var(--yzl-white) !important;
    border-color: rgba(255, 255, 255, 0.6);
}
.yzl-btn-outline-light:hover {
    background: var(--yzl-white);
    color: var(--yzl-text) !important;
    border-color: var(--yzl-white);
}
.yzl-btn-large { padding: 16px 36px; font-size: 16px; }

/* ---- Section 通用 ---- */
.yzl-section-head {
    text-align: center;
    margin-bottom: 60px;
}
.yzl-section-tag {
    display: inline-block;
    font-family: var(--yzl-font-en);
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--yzl-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding: 0 30px;
}
.yzl-section-tag::before, .yzl-section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--yzl-primary);
}
.yzl-section-tag::before { left: 0; }
.yzl-section-tag::after { right: 0; }
.yzl-section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 16px;
    color: var(--yzl-text);
    font-weight: 900;
    letter-spacing: 1px;
}
.yzl-section-desc {
    font-size: 16px;
    color: var(--yzl-text-light);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
}
.yzl-section-action {
    text-align: center;
    margin-top: 50px;
}

/* ---- 信任栏 ---- */
.yzl-trust {
    background: var(--yzl-white);
    padding: 60px 0;
    border-top: 1px solid var(--yzl-border);
    border-bottom: 1px solid var(--yzl-border);
}
.yzl-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.yzl-trust-item { text-align: center; padding: 16px; }
.yzl-trust-item i {
    font-size: 36px;
    color: var(--yzl-primary);
    margin-bottom: 16px;
    display: block;
}
.yzl-trust-item h4 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--yzl-text);
}
.yzl-trust-item p {
    font-size: 14px;
    color: var(--yzl-text-light);
    margin: 0;
}

/* ---- 工艺流程 ---- */
.yzl-process {
    padding: 100px 0;
    background: var(--yzl-bg);
}
.yzl-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.yzl-process-item {
    background: var(--yzl-white);
    padding: 36px 24px;
    border-radius: var(--yzl-radius-lg);
    text-align: center;
    position: relative;
    transition: all var(--yzl-transition);
    border: 1px solid var(--yzl-border);
}
.yzl-process-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--yzl-shadow-hover);
    border-color: var(--yzl-primary);
}
.yzl-process-num {
    font-family: var(--yzl-font-en);
    font-size: 48px;
    font-weight: 700;
    color: var(--yzl-primary);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 12px;
}
.yzl-process-item h3 {
    font-size: 18px;
    margin: 0 0 12px;
    color: var(--yzl-text);
}
.yzl-process-item p {
    font-size: 14px;
    color: var(--yzl-text-light);
    margin: 0;
    line-height: 1.7;
}

/* ---- 产品中心 ---- */
.yzl-products {
    padding: 100px 0;
    background: var(--yzl-white);
}
.yzl-series-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.yzl-series-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 28px;
    background: var(--yzl-bg);
    border: 1px solid var(--yzl-border);
    border-radius: var(--yzl-radius);
    transition: all var(--yzl-transition);
    min-width: 140px;
}
.yzl-series-tab:hover {
    background: var(--yzl-primary);
    color: var(--yzl-white) !important;
    border-color: var(--yzl-primary);
    transform: translateY(-2px);
}
.yzl-series-tab:hover .yzl-series-code { color: var(--yzl-white); }
.yzl-series-code {
    font-family: var(--yzl-font-en);
    font-size: 22px;
    font-weight: 700;
    color: var(--yzl-primary);
    letter-spacing: 1px;
}
.yzl-series-name {
    font-size: 13px;
    margin-top: 4px;
    color: var(--yzl-text);
}
.yzl-series-tab:hover .yzl-series-name { color: var(--yzl-white); }

/* 产品网格 */
.yzl-product-grid {
    display: grid;
    gap: 28px;
}
.yzl-product-grid.yzl-cols-2 { grid-template-columns: repeat(2, 1fr); }
.yzl-product-grid.yzl-cols-3 { grid-template-columns: repeat(3, 1fr); }
.yzl-product-grid.yzl-cols-4 { grid-template-columns: repeat(4, 1fr); }
.yzl-product-card {
    background: var(--yzl-white);
    border-radius: var(--yzl-radius-lg);
    overflow: hidden;
    transition: all var(--yzl-transition);
    border: 1px solid var(--yzl-border);
}
.yzl-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--yzl-shadow-hover);
    border-color: var(--yzl-primary);
}
.yzl-product-thumb {
    display: block;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #F5EFE6 0%, #E5DCC8 100%);
    overflow: hidden;
    position: relative;
}
.yzl-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.yzl-product-card:hover .yzl-product-thumb img { transform: scale(1.08); }
.yzl-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yzl-primary);
    font-size: 64px;
    opacity: 0.4;
}
.yzl-no-thumb-large { aspect-ratio: 1; max-width: 600px; margin: 0 auto; }
.yzl-product-body { padding: 20px 22px 24px; }
.yzl-product-cat {
    display: inline-block;
    font-size: 12px;
    color: var(--yzl-primary);
    background: rgba(139, 111, 71, 0.08);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.yzl-product-title {
    font-size: 17px;
    margin: 0 0 12px;
    font-weight: 700;
}
.yzl-product-title a {
    color: var(--yzl-text);
}
.yzl-product-title a:hover { color: var(--yzl-primary); }
.yzl-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--yzl-text-light);
}
.yzl-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.yzl-meta-item i { color: var(--yzl-primary); }

/* ---- 关于我们精简 ---- */
.yzl-about {
    padding: 100px 0;
    background: var(--yzl-bg);
}
.yzl-about-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}
.yzl-about-text .yzl-section-tag { text-align: left; padding: 0; }
.yzl-about-text .yzl-section-tag::before { display: none; }
.yzl-about-text .yzl-section-title { text-align: left; }
.yzl-about-text p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--yzl-text-light);
}
.yzl-about-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}
.yzl-about-features li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--yzl-text);
}
.yzl-about-features i {
    color: var(--yzl-secondary);
    margin-right: 8px;
}
.yzl-about-image {
    aspect-ratio: 4/5;
    border-radius: var(--yzl-radius-lg);
    overflow: hidden;
    box-shadow: var(--yzl-shadow);
    background: linear-gradient(135deg, #8B6F47 0%, #6B7F4A 100%);
}
.yzl-about-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--yzl-white);
    gap: 16px;
}
.yzl-about-img-placeholder i { font-size: 80px; opacity: 0.6; }
.yzl-about-img-placeholder span { font-size: 14px; letter-spacing: 2px; opacity: 0.7; }

/* ---- 合作品牌 ---- */
.yzl-brands {
    padding: 100px 0;
    background: var(--yzl-white);
}
.yzl-brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    /* (moved up to .yzl-brands section) */
}
@media (max-width: 480px) {
    /* (moved up to .yzl-brands section) */
}
.yzl-brand-item {
    aspect-ratio: 5/2;
    background: var(--yzl-bg);
    border-radius: var(--yzl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all var(--yzl-transition);
    border: 1px solid var(--yzl-border);
    color: var(--yzl-text);
    font-size: 14px;
    overflow: hidden;
}
.yzl-brand-item:hover {
    background: var(--yzl-white);
    border-color: var(--yzl-primary);
    transform: translateY(-4px);
    box-shadow: var(--yzl-shadow);
}
.yzl-brand-item img {
    max-width: 90%;
    max-height: 60%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.yzl-brand-item:hover img { transform: scale(1.05); }

/* ---- 新闻 ---- */
.yzl-news {
    padding: 100px 0;
    background: var(--yzl-bg);
}
.yzl-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 新闻列表页 */
.yzl-page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 12px 0 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.yzl-news-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--yzl-white);
    padding: 16px 20px;
    border-radius: var(--yzl-radius);
    border: 1px solid var(--yzl-border);
    box-shadow: var(--yzl-shadow);
}
.yzl-news-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.yzl-news-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--yzl-bg);
    border: 1px solid var(--yzl-border);
    border-radius: 999px;
    color: var(--yzl-text-light);
    font-size: 14px;
    transition: all 0.25s ease;
}
.yzl-news-tab:hover {
    border-color: var(--yzl-primary);
    color: var(--yzl-primary);
}
.yzl-news-tab.is-active {
    background: var(--yzl-primary);
    color: var(--yzl-white);
    border-color: var(--yzl-primary);
}
.yzl-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.yzl-news-tab:not(.is-active) .yzl-tab-count {
    background: var(--yzl-border);
}
.yzl-news-sort {
    display: flex;
    gap: 4px;
    background: var(--yzl-bg);
    border: 1px solid var(--yzl-border);
    border-radius: 999px;
    padding: 4px;
}
.yzl-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--yzl-text-light);
    transition: all 0.25s ease;
}
.yzl-sort-btn:hover { color: var(--yzl-primary); }
.yzl-sort-btn.is-active {
    background: var(--yzl-white);
    color: var(--yzl-primary);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.yzl-news-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    background: var(--yzl-white);
    border-radius: var(--yzl-radius-lg);
    overflow: hidden;
    border: 1px solid var(--yzl-border);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}
.yzl-news-featured:hover {
    box-shadow: var(--yzl-shadow-hover);
}
.yzl-news-featured-thumb {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--yzl-bg);
    position: relative;
}
.yzl-news-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.yzl-news-featured:hover .yzl-news-featured-thumb img { transform: scale(1.05); }
.yzl-news-sticky-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--yzl-accent);
    color: var(--yzl-white);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}
.yzl-news-sticky-badge i { margin-right: 4px; }
.yzl-news-featured-body { padding: 32px 36px 36px; }
.yzl-news-featured-title {
    font-size: 26px;
    line-height: 1.4;
    margin: 0 0 14px;
    font-weight: 800;
}
.yzl-news-featured-title a { color: var(--yzl-text); }
.yzl-news-featured-title a:hover { color: var(--yzl-primary); }
.yzl-news-featured-excerpt {
    font-size: 15px;
    line-height: 1.8;
    color: var(--yzl-text-light);
    margin: 0 0 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yzl-news-grid-page {
    grid-template-columns: repeat(2, 1fr);
}
.yzl-news-grid-page .yzl-news-card { margin-bottom: 0; }
@media (max-width: 768px) {
    .yzl-news-featured { grid-template-columns: 1fr; }
    .yzl-news-featured-body { padding: 24px 20px 28px; }
    .yzl-news-featured-title { font-size: 22px; }
    .yzl-news-grid-page { grid-template-columns: 1fr; }
    .yzl-news-toolbar { flex-direction: column; align-items: stretch; }
    .yzl-news-sort { justify-content: center; }
}
.yzl-news-card {
    background: var(--yzl-white);
    border-radius: var(--yzl-radius-lg);
    overflow: hidden;
    border: 1px solid var(--yzl-border);
    transition: all var(--yzl-transition);
}
.yzl-news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--yzl-shadow-hover);
}
.yzl-news-thumb {
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--yzl-bg);
}
.yzl-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.yzl-news-card:hover .yzl-news-thumb img { transform: scale(1.06); }
.yzl-news-body { padding: 24px 24px 28px; }
.yzl-news-date {
    font-size: 13px;
    color: var(--yzl-text-light);
    margin-bottom: 10px;
}
.yzl-news-title {
    font-size: 19px;
    margin: 0 0 12px;
    line-height: 1.5;
    font-weight: 700;
}
.yzl-news-title a { color: var(--yzl-text); }
.yzl-news-title a:hover { color: var(--yzl-primary); }
.yzl-news-excerpt {
    font-size: 14px;
    color: var(--yzl-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yzl-news-more {
    font-size: 14px;
    color: var(--yzl-primary);
    font-weight: 600;
}
.yzl-news-more:hover { color: var(--yzl-accent); }

/* ---- CTA ---- */
.yzl-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--yzl-primary) 0%, var(--yzl-secondary) 100%);
    color: var(--yzl-white);
    text-align: center;
}
.yzl-cta h2 {
    color: var(--yzl-white);
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 16px;
    font-weight: 900;
}
.yzl-cta p {
    font-size: 17px;
    opacity: 0.9;
    margin: 0 0 36px;
}
.yzl-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- 预咨询条 ---- */
.yzl-pre-footer {
    background: var(--yzl-text);
    color: var(--yzl-white);
    padding: 60px 0;
}
.yzl-pre-footer .yzl-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.yzl-pre-footer h3 {
    color: var(--yzl-white);
    font-size: 24px;
    margin: 0 0 8px;
}
.yzl-pre-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 600px;
}

/* ---- 页面头部 ---- */
.yzl-page-header {
    background: linear-gradient(135deg, var(--yzl-primary) 0%, var(--yzl-secondary) 100%);
    color: var(--yzl-white);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}
.yzl-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, var(--yzl-bg), transparent);
    pointer-events: none;
}
.yzl-page-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--yzl-white);
    margin: 0 0 12px;
    font-weight: 900;
}
.yzl-breadcrumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}
.yzl-breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--yzl-transition);
}
.yzl-breadcrumbs a:hover { color: var(--yzl-white); }
.yzl-breadcrumbs .separator { margin: 0 8px; opacity: 0.5; }
.yzl-archive-description {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--yzl-radius);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--yzl-primary-light);
}

/* ---- 内容区布局 ---- */
.yzl-content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 80px;
}
.yzl-primary { min-width: 0; }
.yzl-sidebar { min-width: 0; }

.yzl-widget-area .widget {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--yzl-white);
    border-radius: var(--yzl-radius-lg);
    border: 1px solid var(--yzl-border);
}
.widget-title {
    font-size: 18px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--yzl-primary);
    color: var(--yzl-text);
    position: relative;
    font-weight: 700;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--yzl-accent);
}
.yzl-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yzl-side-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--yzl-border);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.yzl-side-list li:last-child { border-bottom: 0; }
.yzl-side-list a { color: var(--yzl-text); }
.yzl-side-list a:hover { color: var(--yzl-primary); }
.yzl-count {
    font-size: 12px;
    color: var(--yzl-text-light);
}
.yzl-side-date {
    font-size: 12px;
    color: var(--yzl-text-light);
}

.yzl-search-form {
    display: flex;
    border: 1px solid var(--yzl-border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--yzl-bg);
}
.yzl-search-field {
    flex: 1;
    border: none;
    padding: 10px 18px;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: var(--yzl-text);
}
.yzl-search-submit {
    background: var(--yzl-primary);
    color: var(--yzl-white);
    border: none;
    padding: 0 18px;
    cursor: pointer;
    transition: background var(--yzl-transition);
}
.yzl-search-submit:hover { background: var(--yzl-accent); }

.yzl-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yzl-contact-list li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--yzl-text);
}
.yzl-contact-list i {
    color: var(--yzl-primary);
    margin-right: 8px;
    width: 16px;
}
.yzl-contact-list strong { color: var(--yzl-text); margin-right: 4px; }

/* ---- 文章列表 ---- */
.yzl-posts-list {
    display: grid;
    gap: 30px;
}
.yzl-post-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    background: var(--yzl-white);
    border-radius: var(--yzl-radius-lg);
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--yzl-border);
    transition: all var(--yzl-transition);
}
.yzl-post-item:hover {
    box-shadow: var(--yzl-shadow);
}
.yzl-post-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--yzl-bg);
}
.yzl-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.yzl-post-item:hover .yzl-post-thumb img { transform: scale(1.06); }
.yzl-post-body { padding: 24px 28px 28px 0; }
.yzl-post-title {
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 700;
}
.yzl-post-title a { color: var(--yzl-text); }
.yzl-post-title a:hover { color: var(--yzl-primary); }
.yzl-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--yzl-text-light);
    margin-bottom: 14px;
}
.yzl-post-meta i { color: var(--yzl-primary); margin-right: 4px; }
.yzl-post-meta a { color: var(--yzl-text-light); }
.yzl-post-meta a:hover { color: var(--yzl-primary); }
.yzl-post-excerpt {
    font-size: 14px;
    color: var(--yzl-text-light);
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ---- 单文章 ---- */
.yzl-single-post {
    background: var(--yzl-white);
    padding: 40px 50px;
    border-radius: var(--yzl-radius-lg);
    border: 1px solid var(--yzl-border);
}
.yzl-single-featured {
    margin: 24px 0 30px;
    border-radius: var(--yzl-radius);
    overflow: hidden;
}
.yzl-entry-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--yzl-text);
}
.yzl-entry-content h2, .yzl-entry-content h3, .yzl-entry-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.yzl-entry-content img { border-radius: var(--yzl-radius); margin: 16px 0; }
.yzl-entry-content blockquote {
    margin: 24px 0;
    padding: 20px 28px;
    background: var(--yzl-bg);
    border-left: 4px solid var(--yzl-primary);
    border-radius: var(--yzl-radius);
    font-style: italic;
    color: var(--yzl-text-light);
}
.yzl-entry-content ul, .yzl-entry-content ol {
    padding-left: 28px;
}
.yzl-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.yzl-entry-content th, .yzl-entry-content td {
    padding: 10px 14px;
    border: 1px solid var(--yzl-border);
    text-align: left;
}
.yzl-entry-content th {
    background: var(--yzl-bg);
    font-weight: 600;
}
.yzl-tags {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--yzl-border);
    color: var(--yzl-text-light);
    font-size: 14px;
}
.yzl-tags i { color: var(--yzl-primary); margin-right: 6px; }
.yzl-tags a {
    display: inline-block;
    padding: 3px 10px;
    background: var(--yzl-bg);
    color: var(--yzl-text);
    border-radius: 999px;
    margin: 0 4px 4px 0;
    font-size: 13px;
}
.yzl-tags a:hover { background: var(--yzl-primary); color: var(--yzl-white); }

.yzl-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.yzl-post-nav a {
    display: block;
    padding: 20px 24px;
    background: var(--yzl-white);
    border: 1px solid var(--yzl-border);
    border-radius: var(--yzl-radius);
    color: var(--yzl-text);
    transition: all var(--yzl-transition);
}
.yzl-post-nav a:hover {
    border-color: var(--yzl-primary);
    transform: translateY(-2px);
}
.yzl-nav-prev, .yzl-nav-next {
    display: flex;
    align-items: center;
    gap: 12px;
}
.yzl-nav-next { text-align: right; justify-content: flex-end; }
.yzl-nav-label {
    display: block;
    font-size: 12px;
    color: var(--yzl-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.yzl-nav-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--yzl-text);
}

.yzl-related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--yzl-border);
}
.yzl-related-posts .yzl-section-title {
    font-size: 22px;
    margin-bottom: 24px;
    text-align: center;
}
.yzl-comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--yzl-border);
}

/* ---- 单产品页 ---- */
.yzl-product-detail { background: var(--yzl-white); border-radius: var(--yzl-radius-lg); padding: 40px 50px; border: 1px solid var(--yzl-border); }
.yzl-product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--yzl-border);
}
.yzl-product-gallery {
    aspect-ratio: 1;
    background: var(--yzl-bg);
    border-radius: var(--yzl-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yzl-product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.yzl-product-series {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(139, 111, 71, 0.1);
    color: var(--yzl-primary);
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 14px;
}
.yzl-product-name {
    font-size: 30px;
    margin: 0 0 12px;
    font-weight: 900;
    line-height: 1.3;
}
.yzl-product-sku {
    font-size: 14px;
    color: var(--yzl-text-light);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--yzl-border);
}
.yzl-product-sku strong { color: var(--yzl-primary); font-family: var(--yzl-font-en); font-size: 16px; }
.yzl-product-spec {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}
.yzl-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--yzl-bg);
    border-radius: var(--yzl-radius);
    font-size: 14px;
}
.yzl-spec-item i { color: var(--yzl-primary); width: 20px; }
.yzl-spec-label { color: var(--yzl-text-light); min-width: 70px; }
.yzl-spec-value { font-weight: 600; color: var(--yzl-text); }
.yzl-product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.yzl-product-call {
    font-size: 14px;
    color: var(--yzl-text-light);
    padding-top: 16px;
    border-top: 1px solid var(--yzl-border);
}
.yzl-product-call i { color: var(--yzl-primary); margin-right: 6px; }
.yzl-product-call strong { color: var(--yzl-accent); font-family: var(--yzl-font-en); font-size: 18px; }

.yzl-product-tabs {
    padding-top: 40px;
}
.yzl-tab-block {
    margin-bottom: 36px;
}
.yzl-tab-title {
    font-size: 22px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--yzl-primary);
    color: var(--yzl-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.yzl-tab-title i { color: var(--yzl-primary); }
.yzl-tab-content { font-size: 15px; line-height: 1.9; color: var(--yzl-text); }
.yzl-usage-list, .yzl-commit-list {
    padding-left: 0;
    list-style: none;
}
.yzl-usage-list li, .yzl-commit-list li {
    padding: 8px 0 8px 32px;
    position: relative;
}
.yzl-usage-list li::before {
    content: counter(yzl-counter);
    counter-increment: yzl-counter;
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    background: var(--yzl-primary);
    color: var(--yzl-white);
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 12px;
    font-weight: 600;
}
.yzl-usage-list { counter-reset: yzl-counter; }
.yzl-commit-list li i {
    color: var(--yzl-secondary);
    margin-right: 6px;
}

/* ---- 404 ---- */
.yzl-404 {
    padding: 120px 0;
    text-align: center;
}
.yzl-404-inner { max-width: 600px; margin: 0 auto; }
.yzl-404-num {
    font-family: var(--yzl-font-en);
    font-size: 180px;
    font-weight: 700;
    line-height: 1;
    color: var(--yzl-primary);
    opacity: 0.3;
    margin: 0;
}
.yzl-404-title { font-size: 32px; margin: 0 0 12px; }
.yzl-404-desc { color: var(--yzl-text-light); font-size: 16px; margin-bottom: 30px; }
.yzl-404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.yzl-404-search { max-width: 400px; margin: 0 auto; }

/* ---- 页脚 ---- */
.yzl-footer {
    background: var(--yzl-text);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 70px;
}
.yzl-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}
.yzl-footer-title {
    color: var(--yzl-white);
    font-size: 17px;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}
.yzl-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--yzl-primary-light);
}
.yzl-footer-desc { font-size: 14px; line-height: 1.8; }
.yzl-footer-meta {
    font-size: 13px;
    color: var(--yzl-primary-light);
    line-height: 1.7;
    margin-top: 12px;
}
.yzl-footer-credit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}
.yzl-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yzl-footer-menu li { padding: 4px 0; }
.yzl-footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color var(--yzl-transition);
}
.yzl-footer-menu a:hover { color: var(--yzl-primary-light); padding-left: 4px; }
.yzl-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yzl-footer-contact li {
    padding: 6px 0;
    font-size: 14px;
}
.yzl-footer-contact i {
    color: var(--yzl-primary-light);
    margin-right: 8px;
    width: 16px;
}
.yzl-social {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.yzl-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--yzl-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--yzl-transition);
    font-size: 16px;
}
.yzl-social a:hover {
    background: var(--yzl-primary-light);
    color: var(--yzl-text);
    transform: translateY(-3px);
}
.yzl-wechat-tip {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
.yzl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.yzl-footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.yzl-footer-bottom a:hover { color: var(--yzl-primary-light); }

/* ---- 分页 ---- */
.navigation.pagination,
.yzl-pagination {
    margin-top: 40px;
    text-align: center;
}
.nav-links, .page-numbers {
    display: inline-flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: var(--yzl-white);
    color: var(--yzl-text);
    border: 1px solid var(--yzl-border);
    border-radius: var(--yzl-radius);
    font-size: 14px;
    transition: all var(--yzl-transition);
}
.page-numbers:hover, .page-numbers.current {
    background: var(--yzl-primary);
    color: var(--yzl-white);
    border-color: var(--yzl-primary);
}
.page-numbers.current { font-weight: 600; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .yzl-hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .yzl-process-grid { grid-template-columns: repeat(3, 1fr); }
    .yzl-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .yzl-brand-grid { grid-template-columns: repeat(4, 1fr); }
    .yzl-content-area { grid-template-columns: 1fr; }
    .yzl-product-grid.yzl-cols-4 { grid-template-columns: repeat(3, 1fr); }
    .yzl-news-grid { grid-template-columns: repeat(2, 1fr); }
    .yzl-product-hero { grid-template-columns: 1fr; }
    .yzl-about-inner { grid-template-columns: 1fr; gap: 50px; }
    .yzl-product-detail, .yzl-single-post { padding: 30px; }
    .yzl-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .yzl-top-bar .yzl-container { flex-direction: column; gap: 4px; }
    .yzl-header-inner { flex-wrap: wrap; }
    .yzl-menu-toggle { display: block; }
    .yzl-nav { order: 3; flex-basis: 100%; }
    .yzl-menu {
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--yzl-transition);
    }
    .yzl-menu.is-open { max-height: 600px; }
    .yzl-menu > li > a { padding: 12px 16px; }
    .yzl-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--yzl-bg);
        border-radius: 0;
    }
    .yzl-process-grid { grid-template-columns: 1fr 1fr; }
    .yzl-brand-grid { grid-template-columns: repeat(3, 1fr); }
    .yzl-product-grid.yzl-cols-4,
    .yzl-product-grid.yzl-cols-3,
    .yzl-product-grid.yzl-cols-2 { grid-template-columns: 1fr 1fr; }
    .yzl-news-grid { grid-template-columns: 1fr; }
    .yzl-post-item { grid-template-columns: 1fr; }
    .yzl-post-body { padding: 20px 24px 28px; }
    .yzl-pre-footer .yzl-container { flex-direction: column; text-align: center; }
    .yzl-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .yzl-post-nav { grid-template-columns: 1fr; }
    .yzl-single-post, .yzl-product-detail { padding: 24px 20px; }
    .yzl-product-name { font-size: 24px; }
    .yzl-product-actions { flex-direction: column; align-items: stretch; }
    .yzl-product-actions .yzl-btn { justify-content: center; }
}
@media (max-width: 480px) {
    .yzl-process-grid { grid-template-columns: 1fr; }
    .yzl-brand-grid { grid-template-columns: repeat(2, 1fr); }
    .yzl-product-grid.yzl-cols-4,
    .yzl-product-grid.yzl-cols-3,
    .yzl-product-grid.yzl-cols-2 { grid-template-columns: 1fr; }
    .yzl-series-tabs { gap: 8px; }
    .yzl-series-tab { min-width: 110px; padding: 12px 18px; }
    .yzl-hero-stats { grid-template-columns: 1fr 1fr; padding: 24px 20px; gap: 16px; }
    .yzl-stat-num { font-size: 32px; }
}

/* ---- 入场动画（合并自 animations.css） ---- */
.yzl-anim { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.yzl-anim.yzl-in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .yzl-anim { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ================================================================
   中英双语切换器
   ================================================================ */
.yzl-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--yzl-bg);
    border: 1px solid var(--yzl-border);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    flex-shrink: 0;
}
.yzl-lang-btn {
    background: transparent;
    border: none;
    padding: 4px 10px;
    color: var(--yzl-text-light);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.yzl-lang-btn:hover {
    color: var(--yzl-primary);
}
.yzl-lang-btn.is-active {
    background: var(--yzl-primary);
    color: var(--yzl-white);
    font-weight: 600;
}
.yzl-lang-btn.is-active:hover {
    color: var(--yzl-white);
}
.yzl-lang-short { display: inline; }
.yzl-lang-full { display: none; }
.yzl-lang-sep {
    color: var(--yzl-border);
    font-size: 12px;
    user-select: none;
}

/* 英文模式下：英文字体优先 */
body[data-lang="en"] {
    font-family: var(--yzl-font-en), var(--yzl-font-cn);
    letter-spacing: 0;
}
body[data-lang="en"] h1,
body[data-lang="en"] h2,
body[data-lang="en"] h3,
body[data-lang="en"] h4 {
    font-family: var(--yzl-font-en), var(--yzl-font-cn);
    letter-spacing: 0.5px;
}
body[data-lang="en"] .yzl-hero-title {
    font-style: italic;
    letter-spacing: 1px;
}
body[data-lang="en"] .yzl-menu > li > a {
    font-family: var(--yzl-font-en);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
body[data-lang="en"] .yzl-section-tag {
    font-style: italic;
    letter-spacing: 2px;
}
body[data-lang="en"] .yzl-section-title {
    font-style: italic;
}
body[data-lang="en"] .yzl-process-item h3,
body[data-lang="en"] .yzl-trust-item h4,
body[data-lang="en"] .yzl-product-title,
body[data-lang="en"] .yzl-news-title {
    font-family: var(--yzl-font-en);
    font-weight: 700;
}
body[data-lang="en"] .yzl-top-phone strong,
body[data-lang="en"] .yzl-stat-num,
body[data-lang="en"] .yzl-process-num,
body[data-lang="en"] .yzl-product-sku strong {
    font-family: var(--yzl-font-en);
}
body[data-lang="en"] .yzl-no-thumb,
body[data-lang="en"] .yzl-about-img-placeholder {
    font-family: var(--yzl-font-en);
}

/* i18n 工具类：用于双语显示/隐藏 */
.yzl-i18n-zh, .yzl-i18n-en { display: inline; }
body[data-lang="zh"] .yzl-i18n-en { display: none; }
body[data-lang="en"] .yzl-i18n-zh { display: none; }

/* 移动端：切换器只显示短名 */
@media (max-width: 768px) {
    .yzl-lang-switcher { padding: 4px 6px; gap: 2px; }
    .yzl-lang-btn { padding: 4px 8px; font-size: 12px; }
}
@media (max-width: 480px) {
    .yzl-lang-switcher { padding: 3px 4px; }
    .yzl-lang-btn { padding: 3px 6px; font-size: 11px; }
    .yzl-lang-sep { font-size: 10px; }
}
