/*
Theme Name: JZC Theme
Theme URI: https://jzcpack.com
Author: JZC Team
Author URI: https://jzcpack.com
Description: A custom WordPress theme for JZC - Leading Perfume Pump Manufacturer
Version: 1.0.12
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jzc-theme
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

JZC Theme - Copyright (c) 2024 JZC Inc.
This theme is distributed under the terms of the GNU GPL v2 or later.
*/

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Colors */
    --jzc-primary: #000000;
    --jzc-secondary: #1a1a1a;
    --jzc-accent: #c9a45c;
    --jzc-accent-hover: #b8934b;
    --jzc-text: #333333;
    --jzc-text-light: #666666;
    --jzc-text-lightest: #999999;
    --jzc-bg-light: #f8f9fa;
    --jzc-bg-dark: #0a0a0a;
    --jzc-white: #ffffff;
    --jzc-border: #e5e5e5;
    
    /* Typography */
    --jzc-font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --jzc-font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --jzc-spacing-xs: 0.5rem;
    --jzc-spacing-sm: 1rem;
    --jzc-spacing-md: 2rem;
    --jzc-spacing-lg: 4rem;
    --jzc-spacing-xl: 6rem;
    
    /* Transitions */
    --jzc-transition: all 0.3s ease;
    --jzc-transition-fast: all 0.2s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--jzc-font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--jzc-text);
    background-color: var(--jzc-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--jzc-accent);
}

ul, ol {
    list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--jzc-spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.03em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--jzc-spacing-sm);
}

/* ============================================
   Layout
   ============================================ */
.site {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--jzc-spacing-md);
}

.section {
    padding: var(--jzc-spacing-xl) 0;
}

/* ============================================
   Header - Homepage (Floating Transparent)
   ============================================ */
.site-header-home {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header-home.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--jzc-transition);
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--jzc-spacing-sm) 0;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jzc-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--jzc-spacing-md);
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: var(--jzc-spacing-sm);
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: var(--jzc-spacing-xs) var(--jzc-spacing-sm);
    color: var(--jzc-white);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--jzc-accent);
}

/* Dropdown */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--jzc-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--jzc-transition);
    padding: var(--jzc-spacing-sm) 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    padding: var(--jzc-spacing-xs) var(--jzc-spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation .sub-menu li:last-child a {
    border-bottom: none;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: var(--jzc-spacing-xs);
}

.header-cta .search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--jzc-spacing-xs);
    color: var(--jzc-white);
    transition: var(--jzc-transition);
}

.header-cta .search-toggle:hover {
    color: var(--jzc-accent);
}

.header-cta .btn-contact {
    background: var(--jzc-accent);
    color: var(--jzc-primary);
    padding: var(--jzc-spacing-xs) var(--jzc-spacing-md);
    font-weight: 600;
    border-radius: 4px;
}

.header-cta .btn-contact:hover {
    background: var(--jzc-accent-hover);
    color: var(--jzc-primary);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--jzc-spacing-xs);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: var(--jzc-transition);
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jzc-bg-dark);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: brightness(0.4);
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 var(--jzc-spacing-md);
}

.hero-title {
    color: var(--jzc-white);
    margin-bottom: var(--jzc-spacing-sm);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--jzc-accent);
    margin-bottom: var(--jzc-spacing-md);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-description {
    color: var(--jzc-white);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 1400px;
    margin: 0 auto var(--jzc-spacing-lg);
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-cta .btn-primary {
    display: inline-block;
    background: var(--jzc-accent);
    color: var(--jzc-primary);
    padding: var(--jzc-spacing-sm) var(--jzc-spacing-lg);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--jzc-transition);
}

.hero-cta .btn-primary:hover {
    background: var(--jzc-white);
    color: var(--jzc-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--jzc-primary);
    padding: var(--jzc-spacing-xl) 0;
    text-align: center;
}

.stats-title {
    color: var(--jzc-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: var(--jzc-spacing-md);
    text-transform: uppercase;
}

.stats-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 1400px;
    margin: 0 auto var(--jzc-spacing-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--jzc-spacing-md);
    text-align: center;
    margin-bottom: var(--jzc-spacing-lg);
}

.stat-item {
    padding: var(--jzc-spacing-md);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--jzc-accent);
    font-family: var(--jzc-font-secondary);
    margin-bottom: var(--jzc-spacing-xs);
}

.stat-label {
    display: block;
    color: var(--jzc-white);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stats-action {
    margin-top: var(--jzc-spacing-md);
}

.stats-action .btn-primary {
    background: transparent;
    border: 2px solid var(--jzc-accent);
    color: var(--jzc-accent);
    padding: 10px var(--jzc-spacing-lg);
}

.stats-action .btn-primary:hover {
    background: var(--jzc-accent);
    color: var(--jzc-primary);
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    background: var(--jzc-bg-light);
    padding: var(--jzc-spacing-xl) 0;
}

.products-section .products-section{
    grid-template-columns: repeat(2, 1fr);
}

/* All Products Page - Category Grid */
#top-categories.products-section {
    background: transparent;
}

#top-categories .products-grid {
    grid-template-columns: repeat(2, 1fr);
}

.section-header {
    text-align: center;
    margin-bottom: var(--jzc-spacing-lg);
}

.section-header h2 {
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-sm);
}

.section-header p {
    color: var(--jzc-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--jzc-spacing-md);
}

.product-card {
    position: relative;
    background: var(--jzc-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--jzc-transition);
}

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

.product-card-link {
    display: block;
}

.product-card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.product-placeholder svg {
    opacity: 0.8;
}

/* 悬停遮罩 - 默认隐藏 */
.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: var(--jzc-spacing-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

/* 类别名称 - 默认隐藏，悬停渐显 */
.category-name {
    color: var(--jzc-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--jzc-spacing-sm);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.product-card:hover .category-name {
    transform: translateY(0);
    opacity: 1;
}

/* Explore 链接 */
.explore-text {
    color: var(--jzc-accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.product-card:hover .explore-text {
    transform: translateY(0);
    opacity: 1;
}

.explore-text svg {
    transition: transform 0.3s ease;
}

.product-card:hover .explore-text svg {
    transform: translateX(5px);
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card-image {
        height: 280px;
    }
    
    .category-name {
        font-size: 1.25rem;
    }
}

/* 响应式 - 平板 */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
    padding: var(--jzc-spacing-xl) 0;
    background: var(--jzc-white);
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-player {
    display: block;
    width: 100%;
    height: auto;
    background: var(--jzc-bg-dark);
}

.video-placeholder {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--jzc-bg-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.video-placeholder-content svg {
    margin-bottom: var(--jzc-spacing-sm);
}

.video-placeholder-content p {
    font-size: 0.875rem;
    margin: 0;
}

.video-content {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto var(--jzc-spacing-lg);
}

.video-title {
    color: var(--jzc-primary);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: var(--jzc-spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-description {
    color: var(--jzc-text-light);
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .video-section {
        padding: var(--jzc-spacing-lg) 0;
    }
    
    .video-wrapper,
    .video-placeholder {
        border-radius: 8px;
    }
}

/* ============================================
   Certificates Section (Auto-Scroll Carousel)
   ============================================ */
.certificates-section {
    padding: var(--jzc-spacing-xl) 0;
    background: var(--jzc-bg-light);
    overflow: hidden;
}

.certificates-title {
    text-align: center;
    color: var(--jzc-primary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--jzc-spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.certificates-carousel-wrapper {
    position: relative;
    max-width: 100%;
}

.certificates-carousel {
    display: flex;
    gap: 0;
    width: max-content;
    animation: carousel-scroll 40s linear infinite;
}

/* 自动滚动动画 */
@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 悬停时暂停动画 */
.certificates-carousel-wrapper:hover .certificates-carousel {
    animation-play-state: paused;
}

.certificate-item {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    /* background: var(--jzc-white); */
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-right: 1px solid #f0f0f0; */
}

.certificate-item:last-child {
    border-right: none;
}

.certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.certificate-item:hover img {
    transform: scale(1.05);
}

/* 轮播导航按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--jzc-white);
    color: var(--jzc-primary);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--jzc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--jzc-accent);
    color: var(--jzc-white);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

/* 自定义灯箱弹窗 */
.certificate-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.certificate-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--jzc-white);
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .certificates-section {
        padding: var(--jzc-spacing-lg) 0;
    }
    
    .certificate-item {
        width: 150px;
        height: 150px;
    }
    
    .carousel-btn {
        display: none;
    }
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    position: relative;
    padding: var(--jzc-spacing-xl) 0;
    background: var(--jzc-bg-dark);
    color: var(--jzc-white);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(201,164,92,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
}

.features-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.features-content h2 {
    color: var(--jzc-white);
    margin-bottom: var(--jzc-spacing-lg);
}

.features-description {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--jzc-spacing-md);
    margin-top: var(--jzc-spacing-lg);
}

.feature-item {
    padding: var(--jzc-spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--jzc-transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--jzc-accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--jzc-spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jzc-accent);
    border-radius: 50%;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--jzc-primary);
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: var(--jzc-spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--jzc-spacing-xl) 0;
    background: var(--jzc-bg-dark);
    text-align: center;
    overflow: hidden;
}

/* 视频背景 */
.cta-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--jzc-white);
    margin-bottom: var(--jzc-spacing-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--jzc-spacing-md);
}

.cta-content .btn-secondary {
    display: inline-block;
    background: var(--jzc-accent);
    color: var(--jzc-primary);
    padding: var(--jzc-spacing-sm) var(--jzc-spacing-lg);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--jzc-transition);
}

.cta-content .btn-secondary:hover {
    background: var(--jzc-white);
    color: var(--jzc-primary);
    transform: translateY(-3px);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--jzc-primary);
    color: var(--jzc-white);
    padding-top: var(--jzc-spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--jzc-spacing-lg);
    padding-bottom: var(--jzc-spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--jzc-spacing-sm);
    margin-bottom: var(--jzc-spacing-md);
}

.footer-brand .footer-logo img {
    height: 50px;
    width: auto;
}

.footer-brand .footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--jzc-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: var(--jzc-spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--jzc-spacing-sm);
}

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

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

.footer-column h4 {
    color: var(--jzc-white);
    font-size: 1rem;
    margin-bottom: var(--jzc-spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column ul li {
    margin-bottom: var(--jzc-spacing-xs);
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--jzc-transition);
}

.footer-column ul a:hover {
    color: var(--jzc-accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--jzc-spacing-xs);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: var(--jzc-spacing-sm);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--jzc-accent);
}

.footer-bottom {
    padding: var(--jzc-spacing-md) 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: var(--jzc-spacing-xs);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--jzc-accent);
}

/* ============================================
   WordPress Core Styles
   ============================================ */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--jzc-primary);
        flex-direction: column;
        padding: var(--jzc-spacing-md);
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-navigation a {
        padding: var(--jzc-spacing-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-cta .btn-contact {
        display: none;
    }
    
    .hero-content {
        padding-top: var(--jzc-spacing-lg);
    }
    
    .features-description {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--jzc-spacing-md);
    }
}

/* 桌面两列布局 */
.cf7-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.cf7-col {
  flex: 1 1 calc(50% - 8px); /* 两列等宽，减去间距 */
  min-width: 0;
}
.full-width {
  flex: 1 1 100%; /* 单行全宽 */
}

/* 让输入框撑满容器 */
.cf7-col input,
.cf7-col textarea {
  width: 100%;
  box-sizing: border-box;
}

/* 移动端自动单列 */
@media (max-width: 767px) {
  .cf7-col {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   Page Header Section
   ============================================ */
.page-header-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.85) 33%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.page-header-title {
    color: var(--jzc-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .page-header-section {
        min-height: 300px;
        margin-top: 70px;
    }

    .page-header-title {
        font-size: 2rem;
    }
}

/* ============================================
   Manufacturing Section
   ============================================ */
.manufacturing-section {
    padding: var(--jzc-spacing-xl) 0;
    background: var(--jzc-bg-light);
}

.manufacturing-header {
    text-align: center;
    margin-bottom: var(--jzc-spacing-lg);
}

.manufacturing-header h2 {
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.manufacturing-header p {
    color: var(--jzc-text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Desktop Grid - 3 columns */
.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

/* Base grid items */
.manufacturing-grid .grid-item {
    position: relative;
    overflow: hidden;
    background: var(--jzc-primary);
    cursor: pointer;
}

.manufacturing-grid .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.manufacturing-grid .grid-item:hover img {
    transform: scale(1.05);
}

/* Wide items span 2 columns */
.manufacturing-grid .grid-item.wide {
    grid-column: span 2;
}

/* Tall items span 2 rows */
.manufacturing-grid .grid-item.tall {
    grid-row: span 2;
}

/* Square items are default size */
.manufacturing-grid .grid-item.square {
    grid-column: span 1;
    grid-row: span 1;
}

/* Overlay styling */
.manufacturing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.manufacturing-grid .grid-item:hover .manufacturing-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: var(--jzc-spacing-md);
    color: var(--jzc-white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.manufacturing-grid .grid-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--jzc-spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--jzc-white);
}

.overlay-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 300px;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .manufacturing-grid {
        grid-auto-rows: 180px;
        gap: 10px;
    }

    .overlay-content h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .manufacturing-section {
        padding: var(--jzc-spacing-lg) 0;
    }

    .manufacturing-header {
        margin-bottom: var(--jzc-spacing-md);
    }

    .manufacturing-header h2 {
        font-size: 1.75rem;
    }

    .manufacturing-header p {
        font-size: 1rem;
    }

    /* Reset desktop grid */
    .manufacturing-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 8px;
    }

    /* Reset all span classes */
    .manufacturing-grid .grid-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    /* Mobile wide spans 2 columns */
    .manufacturing-grid .mobile-wide {
        grid-column: span 2;
        grid-row: span 2;
    }

    /* Mobile square is default */
    .manufacturing-grid .mobile-square {
        grid-column: span 1;
        grid-row: span 1;
    }

    .overlay-content h3 {
        font-size: 1rem;
    }

    .overlay-content p {
        font-size: 0.8125rem;
        max-width: 250px;
    }
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-page {
    padding: 120px 0 80px;
    background: var(--jzc-bg-light);
    min-height: 100vh;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 左侧联系方式 */
.contact-info {
    padding-right: 40px;
}

.contact-info h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-intro {
    color: var(--jzc-text-light);
    margin-bottom: var(--jzc-spacing-lg);
    line-height: 1.8;
}

.contact-intro p {
    margin-bottom: var(--jzc-spacing-sm);
}

/* 联系方式卡片 */
.contact-details {
    margin-bottom: var(--jzc-spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--jzc-spacing-sm);
    padding: var(--jzc-spacing-md) 0;
    border-bottom: 1px solid var(--jzc-border);
}

.contact-item:last-child {
    border-bottom: none;
}

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

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--jzc-text-lightest);
    font-weight: 600;
}

.contact-text a,
.contact-text span {
    color: var(--jzc-text);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--jzc-accent);
}

/* 社交媒体 */
.social-links {
    padding-top: var(--jzc-spacing-md);
}

.social-links h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-md);
}

.social-icons {
    display: flex;
    gap: var(--jzc-spacing-sm);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jzc-primary);
    border-radius: 50%;
    color: var(--jzc-white);
    transition: var(--jzc-transition);
}

.social-link:hover {
    background: var(--jzc-accent);
    color: var(--jzc-primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* WeChat 二维码提示 */
.wechat-link {
    position: relative;
    cursor: pointer;
}

.wechat-qr {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--jzc-white);
    padding: var(--jzc-spacing-sm);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: var(--jzc-transition);
    white-space: nowrap;
    margin-bottom: 10px;
}

.wechat-qr::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--jzc-white);
}

.wechat-link:hover .wechat-qr {
    opacity: 1;
    visibility: visible;
}

.wechat-qr p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--jzc-text);
}

/* 右侧联系表单 */
.contact-form {
    background: var(--jzc-white);
    padding: var(--jzc-spacing-lg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form .wpcf7 {
    padding: 0;
}

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--jzc-spacing-md);
}

.contact-form .wpcf7-form p {
    margin: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--jzc-border);
    border-radius: 6px;
    font-family: var(--jzc-font-primary);
    font-size: 1rem;
    color: var(--jzc-text);
    background: var(--jzc-bg-light);
    transition: var(--jzc-transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--jzc-accent);
    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input[type="submit"] {
    background: var(--jzc-accent);
    color: var(--jzc-primary);
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--jzc-transition);
}

.contact-form input[type="submit"]:hover {
    background: var(--jzc-accent-hover);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--jzc-spacing-lg);
    }

    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 100px 0 60px;
    }

    .contact-info h1 {
        font-size: 1.75rem;
    }

    .contact-item {
        padding: var(--jzc-spacing-sm) 0;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-form {
        padding: var(--jzc-spacing-md);
    }
}

/* ============================================
   WooCommerce Styles
   ============================================ */

/* Shop Page */
.woocommerce-shop {
    padding: var(--jzc-spacing-lg) 0;
}

.shop-header {
    text-align: center;
    margin: var(--jzc-spacing-lg) auto;
}

.shop-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--jzc-spacing-sm);
}

.shop-description {
    color: var(--jzc-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--jzc-spacing-sm) 0;
    border-bottom: 1px solid var(--jzc-border);
    margin-bottom: var(--jzc-spacing-md);
}

.woocommerce-result-count {
    color: var(--jzc-text-light);
    margin: 0;
}

.woocommerce-ordering select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--jzc-border);
    background: var(--jzc-white);
    font-family: var(--jzc-font-primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--jzc-spacing-md);
    margin-bottom: var(--jzc-spacing-lg);
}
.home .products-grid, .shop-subcategories .products-grid {
    grid-template-columns: repeat(2, 1fr);
}

.page-template-about .main{
    padding-bottom: 0;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--jzc-spacing-sm);
    }
}

/* Product Card */
.product-card {
    background: var(--jzc-white);
    border: 1px solid var(--jzc-border);
    transition: var(--jzc-transition);
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--jzc-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* For WooCommerce product thumbnails that may have different sizes */
.product-image .woocommerce-placeholder,
.product-image img[src$="placeholder.png"] {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* CF7 CPT Picker Button - Product List */
.inquiry-btn,
.single-inquiry-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--jzc-transition);
    text-align: center;
}

.inquiry-btn:hover,
.single-inquiry-btn:hover {
    background: #e5e5e5;
}

.inquiry-btn.added,
.single-inquiry-btn.added {
    background: var(--jzc-accent);
    color: var(--jzc-white);
    border-color: var(--jzc-accent);
}

/* Single Product Inquiry */
.product-inquiry {
    margin-top: var(--jzc-spacing-md);
}

.single-inquiry-btn {
    max-width: 300px;
}

/* Category Hero Section - Full Width */
.category-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    background: var(--jzc-bg-light);
}

.category-hero-image {
    position: relative;
    overflow: hidden;
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-hero-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.category-hero-buttons .btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-hero-buttons .btn-primary {
    background: var(--jzc-accent);
    color: var(--jzc-white);
    border: 2px solid var(--jzc-accent);
}

.category-hero-buttons .btn-primary:hover {
    background: transparent;
    color: var(--jzc-white);
}

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

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

.category-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.category-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-section {
    padding: 20px;
    background: var(--jzc-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-section .section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jzc-primary);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--jzc-accent);
}

.category-section .section-content {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--jzc-text);
}

.category-section .section-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 8px 0;
}

.category-section .section-content h2,
.category-section .section-content h3,
.category-section .section-content h4 {
    color: var(--jzc-primary);
    margin-top: 0;
    margin-bottom: 8px;
}

.category-section .section-content p {
    margin-bottom: 12px;
}

.category-section .section-content ul,
.category-section .section-content ol {
    margin: 0 0 12px 0;
    padding-left: 24px;
    list-style: disc;
}

.category-section .section-content ol {
    list-style: decimal;
}

.category-section .section-content li {
    margin-bottom: 8px;
}

/* Tablet */
@media (max-width: 991px) {
    .category-hero {
        grid-template-columns: 1fr;
    }
    
    .category-hero-image {
        min-height: 300px;
    }
    
    .category-sections {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }
    
    .category-hero-content {
        padding: 0 24px 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .category-hero-image {
        min-height: 250px;
    }
    
    .category-hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .category-hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.8125rem;
    }
    
    .category-sections {
        padding: 20px;
        gap: 12px;
    }
    
    .category-section {
        padding: 16px;
    }
    
    .category-section .section-title {
        font-size: 0.9375rem;
    }
}

/* Shop Categories Filter */

.product-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: var(--jzc-spacing-md) 0;
    border-bottom: 1px solid var(--jzc-border);
}

.category-item {
    padding: 8px 20px;
    background: var(--jzc-bg-light);
    color: var(--jzc-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 20px;
    transition: var(--jzc-transition);
    border: 1px solid transparent;
}

.category-item:hover {
    background: var(--jzc-primary);
    color: var(--jzc-white);
}

.category-item.active {
    background: var(--jzc-accent);
    color: var(--jzc-white);
}

/* Sub-categories Section - Same style as homepage */
.shop-subcategories {
    padding: 60px 0;
    margin-top: 40px;
    background: var(--jzc-white);
}

.shop-subcategories .section-header h2 {
    font-size: 1.6rem;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-badge.sale {
    background: var(--jzc-accent);
    color: var(--jzc-white);
}

.product-badge.out-of-stock {
    background: #dc3545;
    color: var(--jzc-white);
}

.product-info {
    padding: var(--jzc-spacing-sm);
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--jzc-text);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--jzc-accent);
}

.product-price del {
    color: var(--jzc-text-lightest);
    font-weight: 400;
    margin-right: 0.5rem;
}

.product-price ins {
    text-decoration: none;
}

.product-actions {
    padding: 0 var(--jzc-spacing-sm) var(--jzc-spacing-sm);
}

.add-to-cart-btn,
.view-product-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    background: var(--jzc-primary);
    color: var(--jzc-white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    transition: var(--jzc-transition);
}

.add-to-cart-btn:hover,
.view-product-btn:hover {
    background: var(--jzc-accent);
}

/* Pagination */
.shop-pagination {
    text-align: center;
    padding: var(--jzc-spacing-md) 0;
}

.shop-pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
}

.shop-pagination .page-numbers a,
.shop-pagination .page-numbers span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--jzc-border);
    text-decoration: none;
    color: var(--jzc-text);
    transition: var(--jzc-transition);
}

.shop-pagination .page-numbers a:hover,
.shop-pagination .page-numbers .current {
    background: var(--jzc-primary);
    color: var(--jzc-white);
    border-color: var(--jzc-primary);
}

/* Single Product Page */
.single-product-page {
    padding: var(--jzc-spacing-lg) 0;
}

.woocommerce-breadcrumb {
    margin-bottom: var(--jzc-spacing-md);
    color: var(--jzc-text-light);
}

.woocommerce-breadcrumb a {
    color: var(--jzc-text);
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: var(--jzc-accent);
}

.woocommerce-breadcrumb .separator {
    margin: 0 0.5rem;
}

/* Product Main Layout */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--jzc-spacing-lg);
    margin-bottom: var(--jzc-spacing-xl);
}

@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
    }
}

/* Product Summary - WooCommerce Standard */
.product-info.summary {
    display: flex;
    flex-direction: column;
}

.product-info.summary .product_title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-md);
}

.product-info.summary .woocommerce-product-details__short-description {
    margin-bottom: var(--jzc-spacing-md);
    color: var(--jzc-text);
    line-height: 1.6;
}

.product-info.summary .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jzc-accent);
    margin-bottom: var(--jzc-spacing-md);
}

.product-info.summary .price del {
    color: var(--jzc-text-light);
    font-weight: 400;
    margin-right: 0.5rem;
}

.product-info.summary .price ins {
    text-decoration: none;
}

.product-info.summary .product_meta {
    margin-top: var(--jzc-spacing-md);
    padding-top: var(--jzc-spacing-md);
    border-top: 1px solid var(--jzc-border);
    font-size: 0.875rem;
    color: var(--jzc-text-light);
}

.product-info.summary .product_meta > span {
    display: block;
    margin-bottom: 0.5rem;
}

.product-info.summary .product_meta a {
    color: var(--jzc-text);
}

.product-info.summary .product_meta a:hover {
    color: var(--jzc-accent);
}

/* Product Variations Container */
.product-variations {
    margin-bottom: var(--jzc-spacing-md);
}

.product-variations .variations {
    margin-bottom: var(--jzc-spacing-md);
}

.product-variations .variations td {
    display: block;
    padding: 0.5rem 0;
}

.product-variations .variations td.label {
    font-weight: 600;
    color: var(--jzc-text);
}

.product-variations .variations select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    border: 1px solid var(--jzc-border);
    border-radius: 4px;
    font-size: 1rem;
}

.product-variations .woocommerce-variation {
    margin-bottom: var(--jzc-spacing-md);
}

/* Hide out of stock message for inquiry-based products */
.product-variations .woocommerce-variation-availability .stock,
.product-variations .out-of-stock,
.single-product-page .stock.out-of-stock,
.single-product-page p.stock,
.woocommerce div.product form.cart .woocommerce-variation-availability p,
.woocommerce div.product p.stock {
    display: none !important;
}

/* Product Variations - Let plugins handle styling */
.product-variations {
    margin-bottom: var(--jzc-spacing-md);
}

/* WPC Variation Swatches compatibility */
.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .variations td {
    display: block;
    width: 100%;
}

/* Ensure plugin swatches are visible */
.wpcvs-options,
.wpcsw-options,
[class*="wpcsw"],
[class*="wpcvs"] {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
}

/* Hide Add to Cart button (inquiry-based site) */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button {
    display: none !important;
}

/* Hide price for B2B inquiry site */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .woocommerce-variation-price,
.woocommerce div.product .woocommerce-variation .price {
    display: none !important;
}

/* Hide single_variation_wrap (price and quantity after selection) */
.woocommerce div.product .single_variation_wrap,
.woocommerce div.product .woocommerce-variation-add-to-cart,
.woocommerce div.product .variation-add-to-cart,
.woocommerce div.product .single_variation {
    display: none !important;
}
.wp-singular .single_variation_wrap {
    display: none !important;
}

/* Product Custom Table */
.product-custom-table {
    margin: var(--jzc-spacing-md) 0;
    /* padding: var(--jzc-spacing-md);
    background: var(--jzc-bg-light);
    border-radius: 8px; */
}

.product-custom-table .product-table-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-sm);
}

.product-custom-table .product-table-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.product-custom-table .product-table-content th,
.product-custom-table .product-table-content td {
    padding: 0.75rem;
    border: 1px solid var(--jzc-border);
    text-align: left;
}

.product-custom-table .product-table-content th {
    background: var(--jzc-white);
    font-weight: 600;
    color: var(--jzc-primary);
}

/* FAQ Shortcode Styles */
.jzc-faq-section {
    padding: var(--jzc-spacing-xl) 0;
    background: var(--jzc-white);
}

.jzc-faq-title {
    text-align: center;
    font-size: 2rem;
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-lg);
}

.jzc-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.jzc-faq-item {
    border-bottom: 1px solid var(--jzc-border);
}

.jzc-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--jzc-spacing-md) 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--jzc-primary);
}

.jzc-faq-question:hover {
    color: var(--jzc-accent);
}

.jzc-faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.jzc-faq-item.active .jzc-faq-icon {
    transform: rotate(180deg);
}

.jzc-faq-answer {
    display: none;
    padding-bottom: var(--jzc-spacing-md);
    color: var(--jzc-text);
    line-height: 1.6;
}

.jzc-faq-item.active .jzc-faq-answer {
    display: block;
}

/* Certificates Shortcode Styles */
.jzc-certificates-section {
    padding: var(--jzc-spacing-xl) 0;
    background: var(--jzc-bg-light);
}

.jzc-certificates-title {
    text-align: center;
    font-size: 2rem;
    color: var(--jzc-primary);
    margin-bottom: var(--jzc-spacing-lg);
}

.jzc-certificates-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--jzc-spacing-md);
}

.jzc-certificate-item {
    text-align: center;
}

.jzc-certificate-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jzc-certificate-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.jzc-certificate-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.jzc-certificate-title {
    margin-top: var(--jzc-spacing-sm);
    font-size: 0.875rem;
    color: var(--jzc-text-light);
}

/* Product Gallery - Horizontal Thumbnails */
.product-gallery {
    position: relative;
}

.woocommerce-product-gallery {
    position: relative;
    opacity: 1 !important;
}

.woocommerce-product-gallery__wrapper {
    display: block;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Thumbnails - Horizontal */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    margin: 0;
    cursor: pointer;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1;
    border-color: var(--jzc-accent);
}

/* Gallery Navigation Arrows */
.woocommerce-product-gallery .flex-direction-nav {
    display: none;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    text-indent: -9999px;
    z-index: 10;
}

.woocommerce-product-gallery__trigger::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-indent: 0;
    font-size: 20px;
    color: var(--jzc-text);
}

/* Product Info */
.product-info {
    padding: var(--jzc-spacing-sm) 0;
}

.product-info .product-title {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: var(--jzc-spacing-sm);
    line-height: 1.2;
    text-align: center;
}

.product-info .product-price {
    font-size: 1rem;
    font-weight: 300;
    color: var(--jzc-accent);
    margin-bottom: 0;
}

.product-info .product-price del {
    color: var(--jzc-text-light);
    font-weight: 400;
    margin-right: 0.5rem;
}

.product-info .product-price ins {
    text-decoration: none;
}

.product-short-description {
    color: var(--jzc-text-light);
    margin-bottom: var(--jzc-spacing-md);
    line-height: 1.6;
}

/* Add to Cart Form */
.product-add-to-cart {
    margin-bottom: var(--jzc-spacing-md);
}

.product-add-to-cart .quantity {
    display: inline-flex;
    margin-right: var(--jzc-spacing-sm);
    margin-bottom: var(--jzc-spacing-sm);
}

.product-add-to-cart .quantity input[type="number"] {
    width: 70px;
    padding: 0.75rem;
    border: 1px solid var(--jzc-border);
    text-align: center;
    font-size: 1rem;
}

.product-add-to-cart .single_add_to_cart_button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--jzc-accent);
    color: var(--jzc-white);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--jzc-transition);
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background: var(--jzc-accent-hover);
}

.product-add-to-cart .variations {
    width: 100%;
    margin-bottom: var(--jzc-spacing-md);
}

.product-add-to-cart .variations td {
    padding: 0.5rem 0;
}

.product-add-to-cart .variations select {
    padding: 0.5rem;
    border: 1px solid var(--jzc-border);
    min-width: 200px;
}

.product-add-to-cart .variations_button {
    margin-top: var(--jzc-spacing-sm);
}

/* Variation Swatches for WooCommerce */
.product-add-to-cart .variations {
    width: 100%;
}

.product-add-to-cart .variations td {
    display: block;
    padding: 0.5rem 0;
}

.product-add-to-cart .variations td.label {
    font-weight: 600;
    color: var(--jzc-text);
    margin-bottom: 0.25rem;
}

.product-add-to-cart .variations select {
    width: 100%;
    max-width: 300px;
}

/* Swatch styles */
.product-add-to-cart .swatch-wrapper {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.product-add-to-cart .swatch-wrapper .swatch {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-add-to-cart .swatch-wrapper .swatch:hover,
.product-add-to-cart .swatch-wrapper.selected .swatch {
    border-color: var(--jzc-accent);
    box-shadow: 0 0 0 2px var(--jzc-accent);
}

.product-add-to-cart .swatch-wrapper.swatch-image .swatch {
    background-size: cover;
    background-position: center;
}

.product-add-to-cart .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-add-to-cart .variable-item {
    min-width: 36px;
    height: 36px;
    padding: 4px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.product-add-to-cart .variable-item:hover,
.product-add-to-cart .variable-item.selected {
    border-color: var(--jzc-accent);
    background: var(--jzc-accent);
    color: #fff;
}

.product-add-to-cart .variable-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* WooCommerce Variation Summary */
.woocommerce-variation.single_variation {
    margin-bottom: var(--jzc-spacing-md);
}

/* Product Meta */
.product-meta {
    margin-top: var(--jzc-spacing-md);
    padding-top: var(--jzc-spacing-md);
    border-top: 1px solid var(--jzc-border);
}

.product-meta > span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--jzc-text-light);
    font-size: 0.875rem;
}

.product-meta a {
    color: var(--jzc-text);
    text-decoration: none;
}

.product-meta a:hover {
    color: var(--jzc-accent);
}

/* Product Tabs */
.product-tabs {
    margin-bottom: var(--jzc-spacing-xl);
}

.product-tabs .woocommerce-tabs {
    border: 1px solid var(--jzc-border);
}

.product-tabs .wc-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--jzc-border);
    background: var(--jzc-bg-light);
}

.product-tabs .wc-tabs li {
    margin: 0;
}

.product-tabs .wc-tabs li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--jzc-text);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--jzc-transition);
}

.product-tabs .wc-tabs li.active a,
.product-tabs .wc-tabs li a:hover {
    color: var(--jzc-accent);
    border-bottom-color: var(--jzc-accent);
    background: var(--jzc-white);
}

.product-tabs .woocommerce-Tabs-panel {
    padding: var(--jzc-spacing-md);
}

.product-tabs .woocommerce-Tabs-panel h2 {
    font-size: 1.25rem;
    margin-bottom: var(--jzc-spacing-sm);
}

/* Related Products */
.related.products {
    margin-top: var(--jzc-spacing-xl);
}

.related.products > h2 {
    text-align: center;
    margin-bottom: var(--jzc-spacing-md);
    font-size: 1.5rem;
}

/* Sale Badge */
.woocommerce-product-gallery .onsale,
.product-gallery .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.75rem;
    background: var(--jzc-accent);
    color: var(--jzc-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.product-featured-image {
    border: 1px solid var(--jzc-border);
    margin-bottom: var(--jzc-spacing-sm);
}

.product-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: var(--jzc-spacing-xs);
}

.product-thumbnails .thumbnail-item {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--jzc-transition);
}

.product-thumbnails .thumbnail-item.active,
.product-thumbnails .thumbnail-item:hover {
    border-color: var(--jzc-accent);
}

/* Product Info */

.product-info .product-price {
    font-size: 1.5rem;
    margin-bottom: var(--jzc-spacing-md);
}

.product-short-description {
    color: var(--jzc-text-light);
    margin-bottom: var(--jzc-spacing-md);
    line-height: 1.6;
}

/* Add to Cart Form */
.product-add-to-cart {
    margin-bottom: var(--jzc-spacing-md);
}

.product-add-to-cart .quantity {
    display: inline-flex;
    margin-right: var(--jzc-spacing-sm);
}

.product-add-to-cart .quantity input {
    width: 60px;
    padding: 0.75rem;
    border: 1px solid var(--jzc-border);
    text-align: center;
}

.product-add-to-cart .single_add_to_cart_button {
    padding: 0.75rem 2rem;
    background: var(--jzc-accent);
    color: var(--jzc-white);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--jzc-transition);
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background: var(--jzc-accent-hover);
}

.stock.out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

/* Product Meta */
.product-meta {
    padding-top: var(--jzc-spacing-md);
    border-top: 1px solid var(--jzc-border);
}

.product-meta > span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--jzc-text-light);
}

.product-meta a {
    color: var(--jzc-text);
    text-decoration: none;
}

.product-meta a:hover {
    color: var(--jzc-accent);
}

/* Product Tabs */
.product-tabs {
    margin-bottom: var(--jzc-spacing-lg);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--jzc-border);
    margin-bottom: var(--jzc-spacing-md);
}

.tab-btn {
    padding: var(--jzc-spacing-sm) var(--jzc-spacing-md);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jzc-transition);
}

.tab-btn.active,
.tab-btn:hover {
    border-bottom-color: var(--jzc-accent);
    color: var(--jzc-accent);
}

.tab-panel {
    display: none;
    padding: var(--jzc-spacing-md) 0;
}

.tab-panel.active {
    display: block;
}

.shop-attributes {
    width: 100%;
    border-collapse: collapse;
}

.shop-attributes th,
.shop-attributes td {
    padding: var(--jzc-spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--jzc-border);
}

.shop-attributes th {
    width: 30%;
    color: var(--jzc-text-light);
}

/* Related Products */
.related-products {
    padding-top: var(--jzc-spacing-lg);
    border-top: 1px solid var(--jzc-border);
}

.related-products h2 {
    text-align: center;
    margin-bottom: var(--jzc-spacing-md);
    font-size: 1.5rem;
}

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

@media (max-width: 1024px) {
    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* No Products */
.no-products-found {
    text-align: center;
    padding: var(--jzc-spacing-xl) 0;
}

/* ============================================
   Content Blocks Section
   ============================================ */

.content-blocks-section {
    padding: var(--jzc-spacing-xl) 0;
}

.content-blocks-section:not(:first-child) {
    border-top: 1px solid var(--jzc-border);
}

/* 分组标题 */
.content-group-header {
    text-align: center;
    margin-bottom: var(--jzc-spacing-lg);
}

.group-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--jzc-spacing-sm);
}

.group-intro {
    color: var(--jzc-text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 图文行 - 横向排列 */
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--jzc-spacing-lg);
    align-items: center;
    margin-bottom: var(--jzc-spacing-xl);
}

.content-row:last-child {
    margin-bottom: 0;
}

/* 左图右文布局 */
.content-row.image-left .row-image {
    order: 1;
}

.content-row.image-left .row-content {
    order: 2;
}

/* 左文右图布局 */
.content-row.image-right .row-image {
    order: 2;
}

.content-row.image-right .row-content {
    order: 1;
}

/* 图片样式 */
.row-image {
    overflow: hidden;
    border-radius: 4px;
}

.row-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--jzc-transition);
}

.content-row:hover .row-image img {
    transform: scale(1.02);
}

/* 内容样式 */
.row-content {
    padding: var(--jzc-spacing-md);
}

.row-content h2,
.row-content h3,
.row-content h4 {
    margin-top: 0;
    margin-bottom: var(--jzc-spacing-sm);
}

.row-content p {
    margin-bottom: var(--jzc-spacing-sm);
    line-height: 1.6;
    color: var(--jzc-text);
}

.row-content p:last-child {
    margin-bottom: 0;
}

.row-content ul,
.row-content ol {
    margin-bottom: var(--jzc-spacing-sm);
    padding-left: 1.5rem;
}

.row-content li {
    margin-bottom: 0.5rem;
}

.row-content a {
    color: var(--jzc-accent);
    text-decoration: none;
}

.row-content a:hover {
    text-decoration: underline;
}

/* 移动端样式 - 上图下文 */
@media (max-width: 768px) {
    .content-blocks-section {
        padding: var(--jzc-spacing-lg) 0;
    }

    .group-title {
        font-size: 1.5rem;
    }

    .content-row {
        grid-template-columns: 1fr;
        gap: var(--jzc-spacing-md);
        margin-bottom: var(--jzc-spacing-lg);
    }

    /* 移动端统一上图下文 */
    .content-row.image-left .row-image,
    .content-row.image-right .row-image {
        order: 1;
    }

    .content-row.image-left .row-content,
    .content-row.image-right .row-content {
        order: 2;
    }

    .row-content {
        padding: var(--jzc-spacing-sm) 0;
    }
}

/* ============================================
   Basic Template Styles
   ============================================ */

/* Page Template */
.page-content {
    padding: var(--jzc-spacing-lg) 0;
}

.page-header {
    text-align: center;
    margin-bottom: var(--jzc-spacing-lg);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-content {
    /* max-width: 1400px; */
    margin: 0 auto;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    margin-top: var(--jzc-spacing-md);
    margin-bottom: var(--jzc-spacing-sm);
}

.page-content p {
    margin-bottom: var(--jzc-spacing-sm);
    line-height: 1.6;
}

.page-links {
    margin-top: var(--jzc-spacing-md);
    padding-top: var(--jzc-spacing-md);
    border-top: 1px solid var(--jzc-border);
}

/* Single Post */
.single-post {
    padding: var(--jzc-spacing-lg) 0;
}

.single-post article {
    max-width: 1400px;
    margin: 0 auto;
}

.entry-header {
    text-align: center;
    margin-bottom: var(--jzc-spacing-md);
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--jzc-spacing-sm);
}

.entry-meta {
    color: var(--jzc-text-light);
    font-size: 0.875rem;
}

.entry-meta span {
    margin: 0 0.5rem;
}

.post-thumbnail {
    margin-bottom: var(--jzc-spacing-md);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content {
    line-height: 1.6;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--jzc-spacing-md);
    margin-bottom: var(--jzc-spacing-sm);
}

.entry-content p {
    margin-bottom: var(--jzc-spacing-sm);
}

.entry-footer {
    margin-top: var(--jzc-spacing-lg);
    padding-top: var(--jzc-spacing-md);
    border-top: 1px solid var(--jzc-border);
    color: var(--jzc-text-light);
    font-size: 0.875rem;
}

.entry-footer span {
    display: block;
    margin-bottom: 0.5rem;
}

/* Post Navigation */
.post-navigation {
    margin-top: var(--jzc-spacing-lg);
    padding-top: var(--jzc-spacing-md);
    border-top: 1px solid var(--jzc-border);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    max-width: 45%;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--jzc-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
    font-weight: 600;
}

/* Archive & Search */
.archive-page,
.search-results {
    padding: var(--jzc-spacing-lg) 0;
}

.archive-header,
.search-header {
    text-align: center;
    margin-bottom: var(--jzc-spacing-lg);
}

.archive-title,
.search-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.archive-description {
    color: var(--jzc-text-light);
    margin-top: var(--jzc-spacing-sm);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--jzc-spacing-md);
    margin-bottom: var(--jzc-spacing-lg);
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.post-card {
    background: var(--jzc-white);
    border: 1px solid var(--jzc-border);
    transition: var(--jzc-transition);
}

.post-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-card .post-thumbnail-link {
    display: block;
    overflow: hidden;
}

.post-card .post-thumbnail-link img {
    width: 100%;
    height: auto;
    transition: var(--jzc-transition);
}

.post-card:hover .post-thumbnail-link img {
    transform: scale(1.05);
}

.post-card .post-content {
    padding: var(--jzc-spacing-md);
}

.post-card .entry-title {
    font-size: 1.25rem;
    margin-bottom: var(--jzc-spacing-xs);
}

.post-card .entry-title a {
    color: var(--jzc-text);
    text-decoration: none;
}

.post-card .entry-title a:hover {
    color: var(--jzc-accent);
}

.post-card .entry-meta {
    font-size: 0.875rem;
    color: var(--jzc-text-light);
    margin-bottom: var(--jzc-spacing-sm);
}

.post-card .entry-excerpt {
    color: var(--jzc-text-light);
    margin-bottom: var(--jzc-spacing-sm);
}

.post-card .read-more {
    display: inline-block;
    color: var(--jzc-accent);
    font-weight: 600;
    text-decoration: none;
}

.post-card .read-more:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination,
.posts-pagination {
    text-align: center;
    margin-top: var(--jzc-spacing-lg);
}

.pagination .page-numbers,
.posts-pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
}

.pagination .page-numbers a,
.pagination .page-numbers span,
.posts-pagination .page-numbers a,
.posts-pagination .page-numbers span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--jzc-border);
    text-decoration: none;
    color: var(--jzc-text);
    transition: var(--jzc-transition);
}

.pagination .page-numbers a:hover,
.pagination .page-numbers .current,
.posts-pagination .page-numbers a:hover,
.posts-pagination .page-numbers .current {
    background: var(--jzc-primary);
    color: var(--jzc-white);
    border-color: var(--jzc-primary);
}

/* 404 Page */
.error-404 {
    padding: var(--jzc-spacing-xl) 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--jzc-accent);
    margin-bottom: var(--jzc-spacing-sm);
}

.error-404 h2 {
    font-size: 1.5rem;
    margin-bottom: var(--jzc-spacing-sm);
}

.error-404 p {
    color: var(--jzc-text-light);
    margin-bottom: var(--jzc-spacing-md);
}

.error-actions .button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--jzc-primary);
    color: var(--jzc-white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--jzc-transition);
}

.error-actions .button:hover {
    background: var(--jzc-accent);
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--jzc-spacing-xl) 0;
}

.no-results p {
    margin-bottom: var(--jzc-spacing-md);
}

/* ============================================
   Comments
   ============================================ */

.comments-area {
    margin-top: var(--jzc-spacing-xl);
    padding-top: var(--jzc-spacing-lg);
    border-top: 1px solid var(--jzc-border);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: var(--jzc-spacing-md);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--jzc-spacing-lg);
}

.comment-list ol {
    list-style: none;
    padding-left: var(--jzc-spacing-md);
}

.comment {
    margin-bottom: var(--jzc-spacing-md);
    padding-bottom: var(--jzc-spacing-md);
    border-bottom: 1px solid var(--jzc-border);
}

.comment:last-child {
    border-bottom: none;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: var(--jzc-spacing-sm);
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: var(--jzc-spacing-sm);
}

.comment-author .fn {
    font-weight: 600;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--jzc-text-light);
    margin-left: auto;
}

.comment-metadata a {
    color: var(--jzc-text-light);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--jzc-accent);
}

.comment-content {
    margin-left: 60px;
}

.comment-content p {
    margin-bottom: var(--jzc-spacing-sm);
}

.comment-reply-link {
    color: var(--jzc-accent);
    font-size: 0.875rem;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* Comment Form */
.comment-respond {
    margin-top: var(--jzc-spacing-lg);
}

.comment-reply-title {
    font-size: 1.25rem;
    margin-bottom: var(--jzc-spacing-sm);
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--jzc-border);
    font-family: var(--jzc-font-primary);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    padding: 0.75rem 2rem;
    background: var(--jzc-primary);
    color: var(--jzc-white);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--jzc-transition);
}

.comment-form input[type="submit"]:hover {
    background: var(--jzc-accent);
}

.no-comments {
    color: var(--jzc-text-light);
    font-style: italic;
}

.cf7-cpt-picker-add.is-added{
    background-color: #B5914A;
    border-color: #C48039;
    color: #ffffff;
}
.woocommerce .woocommerce-result-count{
    margin: 0;
}

/* ============================================
   Slideshow Section (Full-width Carousel with Tabs)
   ============================================ */
.slideshow-section {
    padding: 0;
    background: #f8f9fa;
}

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

/* Section Header */
.slideshow-header {
    text-align: center;
    padding: 60px 0 40px;
}

.slideshow-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.slideshow-description {
    font-size: 1.125rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Carousel Container */
.slideshow-carousel {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.slideshow-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Individual Slide */
.slideshow-slide {
    flex: 0 0 100%;
    min-height: 500px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.slideshow-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Background Image */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease-out;
}

.slideshow-slide.active .slide-bg {
    animation: kenBurns 10s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.slide-bg-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

/* Slide Content */
.slide-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 60px 0;
}

.slide-content {
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.slideshow-slide.active .slide-content {
    transform: translateX(0);
    opacity: 1;
}

.slide-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.slide-description {
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* Navigation Arrows */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slideshow-arrow:hover {
    background: rgba(201, 164, 92, 0.9);
    border-color: var(--jzc-accent, #c9a45c);
    color: #ffffff;
}

.slideshow-arrow-prev {
    left: 30px;
}

.slideshow-arrow-next {
    right: 30px;
}

/* Tab Navigation */
.slideshow-tabs-wrapper {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.slideshow-tabs {
    display: flex;
    gap: 0;
}

.slideshow-tab {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.slideshow-tab:hover {
    background: #f8f9fa;
}

.slideshow-tab.active {
    border-bottom-color: var(--jzc-accent, #c9a45c);
    background: #ffffff;
}

.slideshow-tab.active .tab-number {
    color: var(--jzc-accent, #c9a45c);
}

.tab-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #cccccc;
    transition: color 0.3s ease;
}

.tab-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333333;
    transition: color 0.3s ease;
}

.slideshow-tab:hover .tab-title,
.slideshow-tab.active .tab-title {
    color: #000000;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .slideshow-slide {
        min-height: 450px;
    }
    
    .slide-content-wrapper {
        min-height: 450px;
    }
    
    .slide-content {
        padding: 30px;
        max-width: 500px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 0.9375rem;
    }
    
    .slideshow-tabs {
        flex-wrap: wrap;
    }
    
    .slideshow-tab {
        flex: 0 0 50%;
        padding: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slideshow-header {
        padding: 40px 0 30px;
    }
    
    .slideshow-title {
        font-size: 1.75rem;
    }
    
    .slideshow-description {
        font-size: 1rem;
    }
    
    .slideshow-slide {
        min-height: 400px;
    }
    
    .slide-content-wrapper {
        min-height: 400px;
        padding: 40px 0;
    }
    
    .slide-content {
        padding: 25px;
        max-width: 100%;
        margin: 0 15px;
        transform: translateY(20px);
    }
    
    .slideshow-slide.active .slide-content {
        transform: translateY(0);
    }
    
    .slide-title {
        font-size: 1.25rem;
    }
    
    .slide-description {
        font-size: 0.875rem;
    }
    
    .slide-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .slideshow-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slideshow-arrow-prev {
        left: 10px;
    }
    
    .slideshow-arrow-next {
        right: 10px;
    }
    
    .slideshow-tab {
        flex: 0 0 100%;
        padding: 16px;
    }
    
    .tab-number {
        font-size: 1.25rem;
    }
    
    .tab-title {
        font-size: 0.875rem;
    }
}