/* ========================================
   ZeaGrove Brand Design System
   Based on: zeagrove-frontend-design-reference.md
   ======================================== */

/* ----- CSS Custom Properties ----- */
:root {
    /* Brand Colors */
    --zg-primary: #2D8A4E;
    --zg-primary-dark: #1E6B37;
    --zg-primary-light: #E8F5EC;
    --zg-accent: #C8A45C;
    --zg-accent-dark: #A8883E;
    --zg-accent-light: #F5EDD6;

    /* Neutrals */
    --zg-white: #FFFFFF;
    --zg-gray-100: #F8F9FA;
    --zg-gray-200: #E9ECEF;
    --zg-gray-300: #DEE2E6;
    --zg-gray-400: #ADB5BD;
    --zg-gray-500: #6C757D;
    --zg-gray-600: #495057;
    --zg-gray-700: #343A40;
    --zg-gray-800: #212529;
    --zg-black: #111111;

    /* Typography */
    --zg-font-heading: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
    --zg-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --zg-text-xs: 0.75rem;
    --zg-text-sm: 0.875rem;
    --zg-text-base: 1rem;
    --zg-text-lg: 1.125rem;
    --zg-text-xl: 1.25rem;
    --zg-text-2xl: 1.5rem;
    --zg-text-3xl: 1.875rem;
    --zg-text-4xl: 2.25rem;
    --zg-text-5xl: 3rem;
    --zg-text-6xl: 3.75rem;

    /* Spacing (8px grid) */
    --zg-space-1: 0.25rem;
    --zg-space-2: 0.5rem;
    --zg-space-3: 0.75rem;
    --zg-space-4: 1rem;
    --zg-space-5: 1.25rem;
    --zg-space-6: 1.5rem;
    --zg-space-8: 2rem;
    --zg-space-10: 2.5rem;
    --zg-space-12: 3rem;
    --zg-space-16: 4rem;
    --zg-space-20: 5rem;
    --zg-space-24: 6rem;

    /* Border Radius */
    --zg-radius-sm: 0.25rem;
    --zg-radius-md: 0.5rem;
    --zg-radius-lg: 1rem;
    --zg-radius-xl: 1.5rem;
    --zg-radius-full: 9999px;

    /* Shadows */
    --zg-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --zg-shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --zg-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --zg-shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

    /* Transitions */
    --zg-transition: all 0.3s ease;

    /* Layout */
    --zg-max-width: 1280px;
    --zg-header-height: 80px;
    --zg-topbar-height: 36px;
}

/* ========================================
   Base Styles
   ======================================== */
body {
    font-family: var(--zg-font-body);
    color: var(--zg-gray-800);
    background: var(--zg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--zg-font-heading);
}

::selection {
    background: var(--zg-primary);
    color: var(--zg-white);
}

/* ========================================
   Container
   ======================================== */
.zg-container {
    max-width: var(--zg-max-width);
    margin: 0 auto;
    padding: 0 var(--zg-space-6);
}

@media (min-width: 768px) {
    .zg-container {
        padding: 0 var(--zg-space-8);
    }
}

/* ========================================
   Section Spacing
   ======================================== */
.zg-section {
    padding: var(--zg-space-16) 0;
}

@media (min-width: 768px) {
    .zg-section {
        padding: var(--zg-space-24) 0;
    }
}

.zg-section-title {
    text-align: center;
    margin-bottom: var(--zg-space-12);
}

.zg-section-title h2 {
    font-size: var(--zg-text-3xl);
    color: var(--zg-gray-800);
    margin-bottom: var(--zg-space-3);
    position: relative;
}

.zg-section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--zg-primary);
    margin: var(--zg-space-4) auto 0;
    border-radius: 2px;
}

.zg-section-title p {
    color: var(--zg-gray-500);
    font-size: var(--zg-text-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Top Bar
   ======================================== */
.zg-topbar {
    background: var(--zg-gray-800);
    color: var(--zg-gray-400);
    font-size: var(--zg-text-xs);
    height: var(--zg-topbar-height);
    display: flex;
    align-items: center;
}

.zg-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.zg-topbar-left {
    display: flex;
    align-items: center;
    gap: var(--zg-space-4);
}

.zg-topbar-left span {
    display: flex;
    align-items: center;
    gap: var(--zg-space-1);
}

.zg-topbar-left svg {
    width: 14px;
    height: 14px;
}

.zg-topbar-right {
    display: flex;
    align-items: center;
    gap: var(--zg-space-4);
}

.zg-topbar-right a {
    color: var(--zg-gray-400);
    text-decoration: none;
    transition: var(--zg-transition);
}

.zg-topbar-right a:hover {
    color: var(--zg-white);
}

.zg-topbar-social {
    display: flex;
    align-items: center;
    gap: var(--zg-space-2);
}

.zg-topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: var(--zg-transition);
}

.zg-topbar-social a:hover {
    background: rgba(255,255,255,0.1);
}

.zg-topbar-social svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.zg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1e3a2a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.3s ease;
    height: var(--zg-header-height);
}

.zg-header.scrolled {
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.zg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.zg-header-right {
    display: flex;
    align-items: center;
    gap: var(--zg-space-3);
    margin-left: auto;
}

.zg-logo {
    display: flex;
    align-items: center;
    gap: var(--zg-space-3);
    text-decoration: none;
}

.zg-logo img {
    height: var(--zg-logo-max-height, 50px);
    width: auto;
}

.zg-logo-text {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-xl);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.zg-logo-text small {
    display: block;
    font-family: var(--zg-font-body);
    font-size: var(--zg-text-xs);
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}

/* Desktop Navigation */
.zg-nav {
    display: none;
}

@media (min-width: 1024px) {
    .zg-nav {
        display: flex;
        align-items: center;
        gap: var(--zg-space-1);
        margin-left: 0;
    }
}

.zg-nav a {
    display: inline-flex;
    align-items: center;
    gap: var(--zg-space-1);
    padding: var(--zg-space-2) var(--zg-space-3);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: var(--zg-nav-font-size, var(--zg-text-sm));
    font-family: var(--zg-nav-font-family, var(--zg-font-body));
    font-weight: 500;
    border-radius: var(--zg-radius-md);
    transition: var(--zg-transition);
    position: relative;
}

.zg-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: var(--zg-space-3);
    right: var(--zg-space-3);
    height: 2px;
    background: #c8a45c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zg-nav a:hover,
.zg-nav a.active {
    color: #c8a45c;
}

.zg-nav a:hover::after,
.zg-nav a.active::after {
    transform: scaleX(1);
}

/* Products Dropdown */
.zg-nav-item-has-mega {
    position: relative;
    display: flex;
    align-items: center;
}

.zg-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #1e3a2a;
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 999999;
    padding: var(--zg-space-2) 0;
}

.zg-nav-item-has-mega:hover .zg-dropdown,
.zg-nav-item-has-mega.zg-open .zg-dropdown {
    display: block !important;
}

.zg-header .zg-nav .zg-dropdown .zg-dropdown-item {
    display: block;
    padding: var(--zg-space-2) var(--zg-space-4);
    font-size: var(--zg-text-sm);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    border: none;
    background: none;
    border-radius: 0;
    font-weight: 400;
    gap: 0;
    position: static;
}
.zg-header .zg-nav .zg-dropdown .zg-dropdown-item::after {
    display: none;
}

.zg-header .zg-nav .zg-dropdown .zg-dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

.zg-dropdown-item-all {
    font-weight: 600;
    color: var(--zg-primary);
}

.zg-dropdown-divider {
    height: 1px;
    background: var(--zg-gray-200);
    margin: var(--zg-space-1) 0;
}

/* Header CTA */
.zg-header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .zg-header-cta {
        display: inline-flex;
        align-items: center;
        gap: var(--zg-space-3);
    }
}

.zg-header-cta .elementor-button {
    background: #C8A45C !important;
    border: none !important;
    border-radius: 25px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
}
.zg-header-cta .elementor-button:hover {
    background: #b8943d !important;
}

.zg-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: var(--zg-transition);
}

.zg-btn-icon:hover {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

.zg-btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.zg-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 0;
}

@media (min-width: 1024px) {
    .zg-mobile-toggle {
        display: none;
    }
}

.zg-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Menu Panel */
.zg-mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--zg-white);
    z-index: 2000;
    padding: var(--zg-space-8);
    box-shadow: var(--zg-shadow-xl);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.zg-mobile-panel.open {
    right: 0;
}

.zg-mobile-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--zg-space-8);
    padding-bottom: var(--zg-space-4);
    border-bottom: 1px solid var(--zg-gray-200);
}

.zg-mobile-panel-close {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--zg-gray-600);
}

.zg-mobile-panel a {
    display: block;
    padding: var(--zg-space-3) 0;
    color: var(--zg-gray-600);
    text-decoration: none;
    font-size: var(--zg-text-lg);
    border-bottom: 1px solid var(--zg-gray-100);
    transition: var(--zg-transition);
}

.zg-mobile-panel a:hover {
    color: var(--zg-primary);
    padding-left: var(--zg-space-2);
}

.zg-mobile-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.zg-mobile-panel-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ========================================
   Buttons
   ======================================== */
.zg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--zg-space-2);
    padding: 0.75rem 2rem;
    font-size: var(--zg-text-base);
    font-weight: 500;
    font-family: var(--zg-font-body);
    line-height: 1.4;
    border-radius: var(--zg-radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--zg-transition);
    white-space: nowrap;
}

.zg-btn-primary {
    background: var(--zg-primary);
    color: var(--zg-white);
}

.zg-btn-primary:hover {
    background: var(--zg-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--zg-shadow-md);
}

.zg-btn-secondary {
    background: transparent;
    color: var(--zg-primary);
    border: 2px solid var(--zg-primary);
}

.zg-btn-secondary:hover {
    background: var(--zg-primary-light);
    transform: translateY(-1px);
}

.zg-btn-outline {
    background: transparent;
    color: var(--zg-gray-600);
    border: 1px solid var(--zg-gray-300);
}

.zg-btn-outline:hover {
    background: var(--zg-gray-100);
    border-color: var(--zg-gray-400);
}

.zg-btn-accent {
    background: var(--zg-accent);
    color: var(--zg-white);
}

.zg-btn-accent:hover {
    background: var(--zg-accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--zg-shadow-md);
}

.zg-btn-white {
    background: var(--zg-white);
    color: var(--zg-primary);
}

.zg-btn-white:hover {
    background: var(--zg-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--zg-shadow-md);
}

.zg-btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--zg-text-lg);
}

.zg-btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--zg-text-sm);
}

/* ── Elementor Button Variants ── */
.elementor-button.elementor-button-accent {
    background: var(--zg-accent, #C8A45C);
    color: #ffffff;
    fill: #ffffff;
    box-shadow: 0 2px 10px rgba(200,164,92,0.2);
}
.elementor-button.elementor-button-accent:hover {
    background: var(--zg-accent-dark, #A8883E);
    transform: translateY(-1px);
    box-shadow: var(--zg-shadow-md);
}
.elementor-button.elementor-button-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    fill: #fff;
    backdrop-filter: blur(4px);
}
.elementor-button.elementor-button-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    transform: translateY(-1px);
}

/* ========================================
   Hero Section
   ======================================== */
.zg-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2a1a 0%, #2D8A4E 50%, #1E6B37 100%);
}

.zg-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.zg-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.zg-hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zg-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.zg-hero-overlay-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zg-hero-overlay-fallback,
.zg-hero-bg-video.fallback {
    display: none;
}

.zg-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--zg-space-6);
    animation: zgFadeInUp 1s ease;
}

.zg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--zg-space-2);
    padding: 0.375rem 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--zg-radius-full);
    color: var(--zg-white);
    font-size: var(--zg-text-sm);
    margin-bottom: var(--zg-space-6);
}

.zg-hero-title {
    font-family: var(--zg-font-heading);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--zg-white);
    line-height: 1.1;
    margin-bottom: var(--zg-space-4);
    letter-spacing: -0.5px;
}

.zg-hero-title em {
    font-style: normal;
    color: var(--zg-accent);
}

.zg-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: var(--zg-space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.zg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--zg-space-4);
}

.zg-hero-actions .zg-btn {
    min-width: 160px;
}

.zg-hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--zg-space-10);
    margin-top: var(--zg-space-12);
    padding-top: var(--zg-space-8);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.zg-hero-stat {
    text-align: center;
}

.zg-hero-stat-number {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-3xl);
    font-weight: 700;
    color: var(--zg-white);
}

.zg-hero-stat-label {
    font-size: var(--zg-text-sm);
    color: rgba(255,255,255,0.7);
    margin-top: var(--zg-space-1);
}

/* Scroll indicator */
.zg-hero-scroll {
    position: absolute;
    bottom: var(--zg-space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--zg-space-2);
    color: rgba(255,255,255,0.6);
    font-size: var(--zg-text-xs);
    animation: zgBounce 2s infinite;
}

.zg-hero-scroll svg {
    width: 20px;
    height: 20px;
}

@keyframes zgBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes zgFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Trust Badges
   ======================================== */
.zg-trust {
    background: var(--zg-gray-100);
    padding: var(--zg-space-10) 0;
}

.zg-trust-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--zg-space-8);
}

.zg-trust-item {
    display: flex;
    align-items: center;
    gap: var(--zg-space-3);
    padding: var(--zg-space-3) var(--zg-space-5);
    background: var(--zg-white);
    border-radius: var(--zg-radius-md);
    box-shadow: var(--zg-shadow-sm);
    transition: var(--zg-transition);
}

.zg-trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--zg-shadow-md);
}

.zg-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--zg-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zg-trust-icon svg {
    width: 22px;
    height: 22px;
    color: var(--zg-primary);
}

.zg-trust-text {
    font-size: var(--zg-text-sm);
    font-weight: 600;
    color: var(--zg-gray-700);
}

.zg-trust-text small {
    display: block;
    font-weight: 400;
    color: var(--zg-gray-500);
    font-size: var(--zg-text-xs);
}

/* ========================================
   Product Categories
   ======================================== */
.zg-categories {
    background: var(--zg-white);
}

.zg-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--zg-space-4);
}

@media (min-width: 640px) {
    .zg-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .zg-category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.zg-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--zg-space-6) var(--zg-space-4);
    background: var(--zg-gray-100);
    border-radius: var(--zg-radius-lg);
    text-decoration: none;
    transition: var(--zg-transition);
    position: relative;
    overflow: hidden;
}

.zg-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--zg-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zg-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zg-shadow-lg);
    background: var(--zg-white);
}

.zg-category-card:hover::before {
    transform: scaleX(1);
}

.zg-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zg-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--zg-space-3);
}

.zg-category-icon svg {
    width: 32px;
    height: 32px;
    color: var(--zg-primary);
}

.zg-category-name {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-sm);
    font-weight: 600;
    color: var(--zg-gray-700);
    margin-bottom: var(--zg-space-1);
}

.zg-category-count {
    font-size: var(--zg-text-xs);
    color: var(--zg-gray-400);
}

/* ========================================
   Featured Products
   ======================================== */
.zg-products {
    background: var(--zg-gray-100);
}

.zg-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--zg-space-4);
}

@media (min-width: 640px) {
    .zg-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .zg-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.zg-product-card {
    background: var(--zg-white);
    border-radius: var(--zg-radius-lg);
    overflow: hidden;
    box-shadow: var(--zg-shadow-sm);
    transition: var(--zg-transition);
    display: flex;
    flex-direction: column;
}

.zg-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zg-shadow-lg);
}

.zg-product-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--zg-gray-100);
}

.zg-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zg-product-card:hover .zg-product-image-wrap img {
    transform: scale(1.08);
}

.zg-product-tag {
    position: absolute;
    top: var(--zg-space-2);
    left: var(--zg-space-2);
    padding: 0.25rem 0.625rem;
    background: var(--zg-primary);
    color: var(--zg-white);
    font-size: var(--zg-text-xs);
    font-weight: 500;
    border-radius: var(--zg-radius-sm);
}

.zg-product-body {
    padding: var(--zg-space-4);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zg-product-name {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-base);
    font-weight: 600;
    color: var(--zg-gray-800);
    margin-bottom: var(--zg-space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zg-product-specs {
    font-size: var(--zg-text-xs);
    color: var(--zg-gray-400);
    margin-bottom: var(--zg-space-3);
    display: flex;
    flex-wrap: wrap;
    gap: var(--zg-space-2);
}

.zg-product-specs span {
    padding: 0.125rem 0.5rem;
    background: var(--zg-gray-100);
    border-radius: var(--zg-radius-sm);
}

.zg-product-card .zg-btn {
    margin-top: auto;
    width: 100%;
    font-size: var(--zg-text-sm);
    padding: 0.625rem 1rem;
}

/* ========================================
   About Preview Section
   ======================================== */
.zg-about-preview {
    background: var(--zg-white);
}

.zg-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--zg-space-10);
    align-items: center;
}

@media (min-width: 1024px) {
    .zg-about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.zg-about-image {
    border-radius: var(--zg-radius-xl);
    overflow: hidden;
    position: relative;
}

.zg-about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.zg-about-image-badge {
    position: absolute;
    bottom: var(--zg-space-6);
    left: var(--zg-space-6);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: var(--zg-space-4) var(--zg-space-6);
    border-radius: var(--zg-radius-lg);
    box-shadow: var(--zg-shadow-lg);
}

.zg-about-image-badge strong {
    display: block;
    color: var(--zg-primary);
    font-size: var(--zg-text-2xl);
    font-family: var(--zg-font-heading);
}

.zg-about-image-badge span {
    font-size: var(--zg-text-sm);
    color: var(--zg-gray-500);
}

.zg-about-content h2 {
    text-align: left;
    margin-bottom: var(--zg-space-4);
}

.zg-about-content h2::after {
    margin: var(--zg-space-3) 0 0;
}

.zg-about-content p {
    color: var(--zg-gray-500);
    margin-bottom: var(--zg-space-4);
    line-height: 1.7;
}

.zg-about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--zg-space-4);
    margin-top: var(--zg-space-8);
}

.zg-about-stat {
    text-align: center;
    padding: var(--zg-space-4);
    background: var(--zg-gray-100);
    border-radius: var(--zg-radius-md);
}

.zg-about-stat-number {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-3xl);
    font-weight: 700;
    color: var(--zg-primary);
    line-height: 1;
}

.zg-about-stat-label {
    font-size: var(--zg-text-sm);
    color: var(--zg-gray-500);
    margin-top: var(--zg-space-1);
}

/* ========================================
   OEM / ODM Section
   ======================================== */
.zg-oem {
    background: linear-gradient(135deg, var(--zg-gray-800) 0%, #1a2a1a 100%);
    color: var(--zg-white);
}

.zg-oem .zg-section-title h2 {
    color: var(--zg-white);
}

.zg-oem .zg-section-title h2::after {
    background: var(--zg-accent);
}

.zg-oem .zg-section-title p {
    color: rgba(255,255,255,0.6);
}

.zg-oem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--zg-space-6);
}

@media (min-width: 768px) {
    .zg-oem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .zg-oem-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.zg-oem-step {
    text-align: center;
    padding: var(--zg-space-6) var(--zg-space-4);
    position: relative;
}

.zg-oem-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--zg-accent);
    color: var(--zg-white);
    font-family: var(--zg-font-heading);
    font-weight: 700;
    font-size: var(--zg-text-xl);
    border-radius: 50%;
    margin-bottom: var(--zg-space-4);
}

.zg-oem-step h4 {
    font-family: var(--zg-font-heading);
    color: var(--zg-white);
    margin-bottom: var(--zg-space-2);
}

.zg-oem-step p {
    font-size: var(--zg-text-sm);
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ========================================
   Testimonials
   ======================================== */
.zg-testimonials {
    background: var(--zg-white);
}

.zg-testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--zg-space-6);
}

@media (min-width: 768px) {
    .zg-testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .zg-testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.zg-testimonial-card {
    padding: var(--zg-space-8);
    background: var(--zg-gray-100);
    border-radius: var(--zg-radius-lg);
    transition: var(--zg-transition);
    position: relative;
}

.zg-testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--zg-shadow-md);
}

.zg-testimonial-card::before {
    content: '"';
    font-family: var(--zg-font-heading);
    font-size: 4rem;
    color: var(--zg-primary-light);
    position: absolute;
    top: var(--zg-space-4);
    left: var(--zg-space-6);
    line-height: 1;
    opacity: 0.5;
}

.zg-testimonial-text {
    color: var(--zg-gray-600);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--zg-space-6);
    position: relative;
    z-index: 1;
}

.zg-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--zg-space-3);
}

.zg-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--zg-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--zg-primary);
    font-size: var(--zg-text-lg);
    flex-shrink: 0;
}

.zg-testimonial-name {
    font-weight: 600;
    color: var(--zg-gray-700);
    font-size: var(--zg-text-sm);
}

.zg-testimonial-company {
    font-size: var(--zg-text-xs);
    color: var(--zg-gray-400);
}

/* ========================================
   Blog Section
   ======================================== */
.zg-blog {
    background: var(--zg-gray-100);
}

.zg-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--zg-space-6);
}

@media (min-width: 768px) {
    .zg-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.zg-blog-card {
    background: var(--zg-white);
    border-radius: var(--zg-radius-lg);
    overflow: hidden;
    box-shadow: var(--zg-shadow-sm);
    transition: var(--zg-transition);
}

.zg-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zg-shadow-lg);
}

.zg-blog-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--zg-gray-200);
}

.zg-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zg-blog-card:hover .zg-blog-image img {
    transform: scale(1.05);
}

.zg-blog-body {
    padding: var(--zg-space-5);
}

.zg-blog-date {
    font-size: var(--zg-text-xs);
    color: var(--zg-gray-400);
    margin-bottom: var(--zg-space-2);
}

.zg-blog-title {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-lg);
    font-weight: 600;
    color: var(--zg-gray-800);
    margin-bottom: var(--zg-space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zg-blog-excerpt {
    font-size: var(--zg-text-sm);
    color: var(--zg-gray-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zg-blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--zg-space-2);
    color: var(--zg-primary);
    font-size: var(--zg-text-sm);
    font-weight: 500;
    text-decoration: none;
    margin-top: var(--zg-space-3);
    transition: var(--zg-transition);
}

.zg-blog-link:hover {
    color: var(--zg-primary-dark);
    gap: var(--zg-space-3);
}

/* ========================================
   Newsletter Section
   ======================================== */
.zg-newsletter {
    background: linear-gradient(135deg, var(--zg-primary) 0%, var(--zg-primary-dark) 100%);
    padding: var(--zg-space-16) 0;
    text-align: center;
    color: var(--zg-white);
}

.zg-newsletter-title {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-3xl);
    font-weight: 700;
    margin-bottom: var(--zg-space-3);
}

.zg-newsletter-text {
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto var(--zg-space-6);
    font-size: var(--zg-text-lg);
}

.zg-newsletter-form {
    display: flex;
    gap: var(--zg-space-3);
    max-width: 480px;
    margin: 0 auto;
}

.zg-newsletter-form input[type="email"],
.zg-newsletter-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: var(--zg-radius-md);
    font-size: var(--zg-text-base);
    font-family: var(--zg-font-body);
    outline: none;
}

.zg-newsletter-form input[type="email"]:focus,
.zg-newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.zg-newsletter-form .zg-btn {
    background: var(--zg-gray-800);
    color: var(--zg-white);
}

.zg-newsletter-form .zg-btn:hover {
    background: var(--zg-black);
}

/* ========================================
   Footer
   ======================================== */
.zg-footer {
    background: var(--zg-gray-800);
    color: var(--zg-gray-400);
    padding: var(--zg-space-16) 0 0;
}

.zg-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--zg-space-8);
}

@media (min-width: 640px) {
    .zg-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .zg-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.zg-footer-brand p {
    font-size: var(--zg-text-sm);
    line-height: 1.7;
    margin-top: var(--zg-space-3);
}

.zg-footer-title {
    font-family: var(--zg-font-heading);
    font-size: var(--zg-text-base);
    font-weight: 600;
    color: var(--zg-white);
    margin-bottom: var(--zg-space-4);
}

.zg-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zg-footer-links li {
    margin-bottom: var(--zg-space-2);
}

.zg-footer-links a {
    color: var(--zg-gray-400);
    text-decoration: none;
    font-size: var(--zg-text-sm);
    transition: var(--zg-transition);
}

.zg-footer-links a:hover {
    color: var(--zg-primary-light);
    padding-left: var(--zg-space-1);
}

.zg-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zg-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--zg-space-2);
    margin-bottom: var(--zg-space-3);
    font-size: var(--zg-text-sm);
}

.zg-footer-contact svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--zg-primary);
}

.zg-footer-social {
    display: flex;
    gap: var(--zg-space-2);
    margin-top: var(--zg-space-4);
}

.zg-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--zg-gray-400);
    transition: var(--zg-transition);
}

.zg-footer-social a:hover {
    background: var(--zg-primary);
    color: var(--zg-white);
}

.zg-footer-social svg {
    width: 18px;
    height: 18px;
}

.zg-footer-bottom {
    margin-top: var(--zg-space-10);
    padding: var(--zg-space-5) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--zg-space-4);
    font-size: var(--zg-text-xs);
}

.zg-footer-bottom a {
    color: var(--zg-gray-400);
    text-decoration: none;
}

.zg-footer-bottom a:hover {
    color: var(--zg-white);
}

/* ========================================
   Animations
   ======================================== */
.zg-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zg-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.zg-fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zg-fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.zg-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zg-fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* OEM step connector line */
@media (min-width: 768px) {
    .zg-oem-step {
        position: relative;
    }
    .zg-oem-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 24px;
        right: -1.5rem;
        width: calc(100% - 3rem);
        height: 2px;
        background: linear-gradient(to right, var(--zg-accent), transparent);
        z-index: 0;
    }
    .zg-oem-grid {
        position: relative;
    }
}

/* Testimonial star rating */
.zg-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--zg-space-3);
}
.zg-testimonial-stars svg {
    width: 16px;
    height: 16px;
    color: var(--zg-accent);
}

/* Newsletter subtle pulse on submit button */
.zg-newsletter-form .zg-btn {
    position: relative;
    overflow: hidden;
}
.zg-newsletter-form .zg-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
}
.zg-newsletter-form .zg-btn:hover::after {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

/* Trust badges continuous subtle float */
.zg-trust-item {
    animation: zgFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.3s);
}
.zg-trust-item:nth-child(1) { --i: 0; }
.zg-trust-item:nth-child(2) { --i: 1; }
.zg-trust-item:nth-child(3) { --i: 2; }
.zg-trust-item:nth-child(4) { --i: 3; }
.zg-trust-item:nth-child(5) { --i: 4; }

@keyframes zgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Hero stat counter entrance */
.zg-hero-stat-number {
    display: inline-block;
}

/* ========================================
   Module UI Enhancements
   ======================================== */

/* --- 1. Trust Badges: unique icons, deeper visual --- */
.zg-trust-item {
    border: 1px solid var(--zg-gray-200);
    box-shadow: var(--zg-shadow-md);
    cursor: default;
    min-width: 180px;
    justify-content: center;
}
.zg-trust-item:hover {
    border-color: var(--zg-primary-light);
    box-shadow: var(--zg-shadow-lg);
    transform: translateY(-3px);
}
.zg-trust-icon {
    width: 48px;
    height: 48px;
}
.zg-trust-icon svg {
    width: 24px;
    height: 24px;
}

/* --- 2. Product Categories: colored per category --- */
.zg-category-card {
    padding: var(--zg-space-8) var(--zg-space-4);
    background: var(--zg-white);
    border: 1px solid var(--zg-gray-200);
}
.zg-category-card::before {
    height: 4px;
}
.zg-category-icon {
    width: 72px;
    height: 72px;
    margin-bottom: var(--zg-space-4);
    transition: transform 0.3s ease, background 0.3s ease;
}
.zg-category-card:hover .zg-category-icon {
    transform: scale(1.1);
}
.zg-category-icon svg {
    width: 36px;
    height: 36px;
}
.zg-category-name {
    font-size: var(--zg-text-base);
    margin-bottom: var(--zg-space-1);
}
.zg-category-count {
    font-size: var(--zg-text-xs);
    padding: 0.125rem 0.625rem;
    background: var(--zg-gray-100);
    border-radius: var(--zg-radius-full);
    color: var(--zg-gray-500);
}
.zg-category-card:hover .zg-category-count {
    background: var(--zg-primary-light);
    color: var(--zg-primary);
}

/* Per-category icon colors */
.zg-category-card:nth-child(1) .zg-category-icon { background: #E8F5EC; }
.zg-category-card:nth-child(2) .zg-category-icon { background: #FFF8E1; }
.zg-category-card:nth-child(3) .zg-category-icon { background: #FFF3E0; }
.zg-category-card:nth-child(4) .zg-category-icon { background: #F3E5F5; }
.zg-category-card:nth-child(5) .zg-category-icon { background: #E3F2FD; }
.zg-category-card:nth-child(6) .zg-category-icon { background: #FCE4EC; }

.zg-category-card:nth-child(1) .zg-category-icon svg { color: #2D8A4E; }
.zg-category-card:nth-child(2) .zg-category-icon svg { color: #C8A45C; }
.zg-category-card:nth-child(3) .zg-category-icon svg { color: #E65100; }
.zg-category-card:nth-child(4) .zg-category-icon svg { color: #7B1FA2; }
.zg-category-card:nth-child(5) .zg-category-icon svg { color: #1565C0; }
.zg-category-card:nth-child(6) .zg-category-icon svg { color: #C62828; }

/* --- 3. Featured Products: image overlay, better tags --- */
.zg-product-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.06));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.zg-product-card:hover .zg-product-image-wrap::after {
    opacity: 1;
}
.zg-product-tag {
    border-radius: var(--zg-radius-full);
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 1;
}
.zg-product-card .zg-btn {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.zg-product-card:hover .zg-btn {
    transform: translateY(-2px);
    box-shadow: var(--zg-shadow-md);
}
.zg-product-specs span {
    background: var(--zg-primary-light);
    color: var(--zg-primary-dark);
    font-weight: 500;
}

/* --- 4. About Us: left decorative accent --- */
.zg-about-content {
    position: relative;
    padding-left: var(--zg-space-6);
}
.zg-about-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--zg-primary), var(--zg-accent));
    border-radius: 2px;
}
.zg-about-stat {
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--zg-space-4);
    padding: var(--zg-space-5);
    border-left: 3px solid var(--zg-primary-light);
    transition: var(--zg-transition);
}
.zg-about-stat:hover {
    border-left-color: var(--zg-primary);
    background: var(--zg-white);
    box-shadow: var(--zg-shadow-sm);
}
.zg-about-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--zg-radius-md);
    background: var(--zg-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.zg-about-stat-icon svg {
    width: 22px;
    height: 22px;
    color: var(--zg-primary);
}
.zg-about-stat-content {
    flex: 1;
}
.zg-about-stat-number {
    font-size: var(--zg-text-2xl);
    text-align: left;
}
.zg-about-stat-label {
    text-align: left;
    margin-top: 0;
}

/* --- 5. OEM/ODM: hover lift & connector polish --- */
.zg-oem-step {
    transition: transform 0.3s ease;
}
.zg-oem-step:hover {
    transform: translateY(-4px);
}
.zg-oem-step-number {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    font-size: var(--zg-text-2xl);
    box-shadow: 0 0 0 3px rgba(200,164,92,0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.zg-oem-step:hover .zg-oem-step-number {
    box-shadow: 0 0 0 5px rgba(200,164,92,0.2);
    transform: scale(1.05);
}
@media (min-width: 768px) {
    .zg-oem-step:not(:last-child)::after {
        top: 28px;
    }
}

/* --- 6. Testimonials: gold accent bar --- */
.zg-testimonial-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--zg-gray-200);
}
.zg-testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--zg-accent-light);
    position: absolute;
    top: var(--zg-space-3);
    left: var(--zg-space-5);
    line-height: 1;
    opacity: 0.6;
}
.zg-testimonial-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--zg-accent), var(--zg-accent-dark));
    border-radius: 0 2px 2px 0;
}
.zg-testimonial-text {
    position: relative;
    z-index: 1;
    font-size: var(--zg-text-base);
}
.zg-testimonial-stars svg {
    width: 18px;
    height: 18px;
}
.zg-testimonial-avatar {
    width: 48px;
    height: 48px;
    font-size: var(--zg-text-base);
    font-weight: 700;
}

/* --- 7. Blog: category tag & author --- */
.zg-blog-cat {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    font-size: var(--zg-text-xs);
    font-weight: 600;
    color: var(--zg-primary-dark);
    background: var(--zg-primary-light);
    border-radius: var(--zg-radius-full);
    margin-bottom: var(--zg-space-2);
    letter-spacing: 0.3px;
}
.zg-blog-meta {
    display: flex;
    align-items: center;
    gap: var(--zg-space-3);
    margin-top: var(--zg-space-3);
    padding-top: var(--zg-space-3);
    border-top: 1px solid var(--zg-gray-100);
}
.zg-blog-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--zg-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--zg-text-xs);
    font-weight: 600;
    color: var(--zg-primary);
    flex-shrink: 0;
}
.zg-blog-author-name {
    font-size: var(--zg-text-xs);
    color: var(--zg-gray-500);
    font-weight: 500;
}
.zg-blog-date {
    display: flex;
    align-items: center;
    gap: var(--zg-space-1);
    font-weight: 500;
}
.zg-blog-date svg {
    width: 14px;
    height: 14px;
    color: var(--zg-gray-300);
}

/* --- 8. Newsletter: split layout & enhancements --- */
@media (min-width: 768px) {
    .zg-newsletter-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--zg-space-12);
    }
    .zg-newsletter-left {
        flex: 0 0 45%;
        text-align: left;
    }
    .zg-newsletter-left .zg-newsletter-title,
    .zg-newsletter-left .zg-newsletter-text {
        text-align: left;
        margin-left: 0;
    }
    .zg-newsletter-right {
        flex: 0 0 50%;
    }
}
.zg-newsletter-title {
    font-size: var(--zg-text-4xl);
}
.zg-newsletter-form .zg-btn {
    background: var(--zg-accent);
    font-weight: 600;
}
.zg-newsletter-form .zg-btn:hover {
    background: var(--zg-accent-dark);
}
.zg-newsletter-privacy {
    font-size: var(--zg-text-xs);
    color: rgba(255,255,255,0.5);
    margin-top: var(--zg-space-3);
}
.zg-newsletter-privacy a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}
.zg-newsletter-privacy a:hover {
    color: var(--zg-white);
}
.zg-newsletter-social-proof {
    display: inline-flex;
    align-items: center;
    gap: var(--zg-space-2);
    font-size: var(--zg-text-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--zg-space-4);
}
.zg-newsletter-social-proof svg {
    width: 16px;
    height: 16px;
    color: var(--zg-accent);
}
.zg-newsletter-text {
    font-size: var(--zg-text-base);
}

/* ========================================
   Responsive Utilities
   ======================================== */
@media (max-width: 767px) {
    .zg-hide-mobile {
        display: none !important;
    }
    .zg-hero-stats {
        flex-wrap: wrap;
        gap: var(--zg-space-6);
    }
    .zg-hero-stats .zg-hero-stat {
        flex: 0 0 calc(50% - var(--zg-space-3));
    }
    .zg-newsletter-form {
        flex-direction: column;
    }
    .zg-about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .zg-hide-desktop {
        display: none !important;
    }
}

@media (max-width: 639px) {
    .zg-search-form {
        flex-direction: column;
    }
    .zg-search-input {
        font-size: var(--zg-text-lg);
        padding: 0.875rem 1.25rem;
    }
    .zg-search-overlay {
        padding-top: 10vh;
    }
    .zg-search-close {
        top: -50px;
        right: var(--zg-space-4);
    }
    .zg-about-image-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -1rem;
        border-radius: 0 0 var(--zg-radius-lg) var(--zg-radius-lg);
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .zg-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
/* ========================================
   Search Overlay
   ======================================== */
.zg-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.zg-search-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.zg-search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 var(--zg-space-6);
    position: relative;
}

.zg-search-close {
    position: absolute;
    top: -60px;
    right: var(--zg-space-6);
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--zg-transition);
}

.zg-search-close:hover {
    color: var(--zg-white);
    transform: rotate(90deg);
}

.zg-search-form {
    display: flex;
    gap: var(--zg-space-3);
}

.zg-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: var(--zg-text-xl);
    font-family: var(--zg-font-body);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--zg-radius-lg);
    color: var(--zg-white);
    outline: none;
    transition: var(--zg-transition);
}

.zg-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.zg-search-input:focus {
    border-color: var(--zg-primary);
    background: rgba(255,255,255,0.15);
}

.zg-search-form .zg-btn {
    background: var(--zg-primary);
    color: var(--zg-white);
    padding: 0 1.5rem;
    gap: var(--zg-space-2);
}

.zg-search-form .zg-btn:hover {
    background: var(--zg-primary-dark);
}

.zg-search-hints {
    margin-top: var(--zg-space-6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--zg-space-2);
    font-size: var(--zg-text-sm);
    color: rgba(255,255,255,0.4);
}

.zg-search-hints a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--zg-radius-full);
    transition: var(--zg-transition);
}

.zg-search-hints a:hover {
    color: var(--zg-white);
    border-color: var(--zg-primary);
    background: rgba(45,138,78,0.2);
}

/* ========================================
   Language Switcher
   ======================================== */
.zg-lang-switcher {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--zg-space-1);
    user-select: none;
}

.zg-lang-current {
    font-weight: 500;
}

.zg-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--zg-white);
    border-radius: var(--zg-radius-md);
    box-shadow: var(--zg-shadow-lg);
    min-width: 140px;
    padding: var(--zg-space-1);
    z-index: 100;
    margin-top: var(--zg-space-1);
}

.zg-lang-switcher:hover .zg-lang-dropdown {
    display: block;
}

.zg-lang-dropdown a {
    display: block;
    padding: var(--zg-space-2) var(--zg-space-3);
    color: var(--zg-gray-600) !important;
    font-size: var(--zg-text-sm);
    text-decoration: none;
    border-radius: var(--zg-radius-sm);
    transition: var(--zg-transition);
}

.zg-lang-dropdown a:hover {
    background: var(--zg-primary-light);
    color: var(--zg-primary) !important;
}

/* ========================================
   Mobile Panel — Slide Sub-panels
   ======================================== */
.zg-mobile-slider {
    display: flex;
    flex: 1;
    min-height: 0;
    transition: transform 0.3s ease;
}

.zg-mobile-slider.slide-products {
    transform: translateX(-100%);
}

.zg-mobile-main,
.zg-mobile-sub-panel {
    flex: 0 0 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.zg-mobile-sub-panel-links a {
    display: block;
    padding: var(--zg-space-3) 0;
    color: var(--zg-gray-600);
    text-decoration: none;
    font-size: var(--zg-text-lg);
    border-bottom: 1px solid var(--zg-gray-100);
    transition: var(--zg-transition);
}

.zg-mobile-sub-panel-links a:hover {
    color: var(--zg-primary);
    padding-left: var(--zg-space-2);
}

.zg-mobile-sub-panel-links a:first-child {
    font-weight: 600;
    color: var(--zg-primary);
}

/* Mobile submenu trigger (in main menu) */
.zg-mobile-submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--zg-space-3) 0;
    color: var(--zg-gray-600);
    text-decoration: none;
    font-size: var(--zg-text-lg);
    background: none;
    border: none;
    border-bottom: 1px solid var(--zg-gray-100);
    cursor: pointer;
    transition: var(--zg-transition);
    font-family: inherit;
    text-align: left;
}

.zg-mobile-submenu-trigger:hover {
    color: var(--zg-primary);
}

.zg-mobile-submenu-trigger svg {
    flex-shrink: 0;
}

/* Mobile back button */
.zg-mobile-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--zg-gray-600);
    padding: 0;
}

.zg-mobile-back:hover {
    color: var(--zg-primary);
}

/* Mobile language row */
.zg-mobile-lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--zg-space-3) 0;
    border-bottom: 1px solid var(--zg-gray-100);
}

.zg-mobile-lang-label {
    display: flex;
    align-items: center;
    gap: var(--zg-space-2);
    font-size: var(--zg-text-lg);
    color: var(--zg-gray-600);
}

.zg-mobile-lang-options {
    display: flex;
    gap: var(--zg-space-1);
}

.zg-mobile-lang-options .zg-lang-option {
    padding: 0.25rem 0.625rem;
    font-size: var(--zg-text-sm);
    font-weight: 500;
    background: none;
    border: 1px solid var(--zg-gray-300);
    border-radius: var(--zg-radius-sm);
    cursor: pointer;
    color: var(--zg-gray-500);
    font-family: inherit;
    transition: var(--zg-transition);
}

.zg-mobile-lang-options .zg-lang-option:hover {
    border-color: var(--zg-primary);
    color: var(--zg-primary);
}

.zg-mobile-lang-options .zg-lang-option.active {
    border-color: var(--zg-primary);
    background: var(--zg-primary-light);
    color: var(--zg-primary);
    font-weight: 600;
}

/* ========================================
   Editor Styles (Gutenberg compatibility)
   ======================================== */
.editor-styles-wrapper .zg-section {
    padding: 2rem 1rem;
}

.editor-styles-wrapper .zg-section-title h2 {
    font-size: var(--zg-text-3xl);
}

.editor-styles-wrapper .zg-hero {
    min-height: 60vh;
    padding: 4rem 2rem;
}

/* ================================================
   UI Design System — App Level Components
   Premium component refinements & micro-interactions
   ================================================ */

/* ── Global container width enhancement ── */
.zg-container,
.elementor-section .elementor-container {
    max-width: 1200px !important;
}

/* ── Button system — enhanced ── */
.zg-btn,
.elementor-button {
    position: relative;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    overflow: hidden;
}

.zg-btn-primary,
.elementor-button {
    box-shadow: 0 2px 10px rgba(45,138,78,0.15);
}
.zg-btn-primary:hover,
.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,138,78,0.25);
}
.zg-btn-primary:active,
.elementor-button:active {
    transform: translateY(0);
}

.zg-btn-accent {
    box-shadow: 0 2px 10px rgba(200,164,92,0.2);
}
.zg-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200,164,92,0.3);
}

.zg-btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    backdrop-filter: blur(4px);
}
.zg-btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

/* ── Section spacing refinements ── */
.zg-section {
    padding: 5rem 0;
    position: relative;
}

/* ── Section header refinement ── */
.zg-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}
.zg-section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2D8A4E;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    position: relative;
}
.zg-section-tag::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #2D8A4E;
    margin: 0.5rem auto 0;
    border-radius: 1px;
    opacity: 0.5;
}
.zg-section-title {
    font-family: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #212529;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}
.zg-section-desc {
    font-size: 1rem;
    color: #6C757D;
    line-height: 1.7;
    margin: 0;
}

/* ── Category card refinements ── */
.zg-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E9ECEF;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.zg-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #2D8A4E, #40A865);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.zg-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: transparent;
}
.zg-category-card:hover::before {
    opacity: 1;
}
.zg-category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8F5EC;
    border-radius: 14px;
    color: #2D8A4E;
    transition: all 0.3s ease;
}
.zg-category-card:hover .zg-category-icon {
    background: #2D8A4E;
    color: #fff;
    transform: scale(1.05);
}
.zg-category-name {
    font-weight: 600;
    color: #212529;
    font-size: 0.9375rem;
    text-align: center;
}
.zg-category-count {
    font-size: 0.75rem;
    color: #2D8A4E;
    font-weight: 500;
}

/* ── Product card refinements ── */
.zg-product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E9ECEF;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: block;
}
.zg-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}
.zg-product-image {
    height: 220px;
    overflow: hidden;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zg-product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    padding: 8px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-product-card:hover .zg-product-image img {
    transform: scale(1.03);
}
.zg-product-info {
    padding: 1.25rem 1.5rem 1.5rem;
}
.zg-product-name {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.zg-product-desc {
    font-size: 0.875rem;
    color: #6C757D;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
.zg-product-meta {
    font-size: 0.8125rem;
    color: #2D8A4E;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ── Grid layouts refinement ── */
.zg-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}
.zg-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.zg-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.zg-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ── Blog card refinements ── */
.zg-blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E9ECEF;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}
.zg-blog-card-img {
    height: 200px;
    overflow: hidden;
    background: #F8F9FA;
}
.zg-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.zg-blog-card:hover .zg-blog-card-img img {
    transform: scale(1.08);
}
.zg-blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ADB5BD;
}
.zg-blog-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}
.zg-blog-date {
    font-size: 0.75rem;
    color: #ADB5BD;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.zg-blog-card-title {
    font-family: 'Noto Serif SC', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0.5rem 0 0.75rem;
    line-height: 1.4;
}
.zg-blog-card-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s ease;
}
.zg-blog-card-title a:hover {
    color: #2D8A4E;
}
.zg-blog-card-excerpt {
    font-size: 0.875rem;
    color: #6C757D;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
/* ── About section refinements ── */
.zg-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.zg-about-img-placeholder {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a4a2e, #2D8A4E);
    display: flex;
    align-items: center;
    justify-content: center;
}
.zg-about-img-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='white' fill-opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}
.zg-about-img-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    color: rgba(255,255,255,0.2);
    animation: zgSpinSlow 20s linear infinite;
}
@keyframes zgSpinSlow {
    to { transform: rotate(360deg); }
}
.zg-about-img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    line-height: 1.4;
}
.zg-about-img-badge strong {
    display: block;
    font-size: 0.9375rem;
}
.zg-about-img-badge span {
    font-size: 0.75rem;
    opacity: 0.7;
}
.zg-about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.zg-about-text p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #495057;
    margin: 0;
}

/* ── Stats row ── */
.zg-stats-row {
    display: flex;
    gap: 2.5rem;
    margin: 1rem 0;
}
.zg-stat {
    text-align: left;
}
.zg-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D8A4E;
    display: block;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}
.zg-stat-label {
    font-size: 0.8125rem;
    color: #6C757D;
    display: block;
    margin-top: 0.25rem;
}

/* ── OEM steps row ── */
.zg-steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    position: relative;
}
.zg-step {
    padding: 1rem;
}
.zg-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2D8A4E, #40A865);
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(45,138,78,0.2);
}
.zg-step-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.5rem;
}
.zg-step p {
    font-size: 0.875rem;
    color: #6C757D;
    line-height: 1.6;
    margin: 0;
}
.zg-step-arrow {
    display: none;
}
@media (min-width: 768px) {
    .zg-step-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #DEE2E6;
        font-size: 1.25rem;
        font-weight: 300;
    }
}
@media (max-width: 767px) {
    .zg-steps-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .zg-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .zg-about-img-placeholder {
        height: 300px;
    }
    .zg-stats-row {
        gap: 1.5rem;
        justify-content: flex-start;
    }
}

/* ── Testimonials refinement ── */
.zg-testimonial-card-inner {
    position: relative;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #E9ECEF;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}
.zg-testimonial-card-inner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #C8A45C, #A8883E);
}
.zg-testimonial-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.zg-testimonial-stars {
    color: #C8A45C;
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}
.zg-testimonial-text {
    font-style: italic;
    line-height: 1.7;
    color: #495057;
    margin: 0 0 1.25rem;
    position: relative;
    z-index: 1;
}
.zg-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.zg-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2D8A4E, #40A865);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.zg-testimonial-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: #212529;
}
.zg-testimonial-company {
    font-size: 0.75rem;
    color: #6C757D;
}

/* ── Badges grid ── */
.zg-badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
}
.zg-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    transition: transform 0.3s ease;
}
.zg-badge-item:hover {
    transform: translateY(-4px);
}
.zg-badge-icon {
    width: 36px;
    height: 36px;
}
.zg-badge-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
}

/* ── Newsletter section refinement ── */
.zg-section--newsletter {
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    position: relative;
    overflow: hidden;
}
.zg-newsletter-box {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.zg-newsletter-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.8125rem;
}
.zg-newsletter-title {
    font-family: 'Noto Serif SC', Georgia, serif;
    font-size: 2rem;
    color: #fff;
    margin: 0 0 0.75rem;
}
.zg-newsletter-desc {
    color: rgba(255,255,255,0.65);
    margin: 0 0 1.5rem;
    line-height: 1.7;
}
.zg-newsletter-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── CTA buttons — high contrast for dark green newsletter bg ── */
.zg-btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #ffffff;
    color: #1B4332;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--zg-radius-md);
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.02em;
}
.zg-btn-cta-primary:hover {
    background: #f0f0f0;
    color: #0d2619;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.zg-btn-cta-primary:active {
    transform: scale(0.96);
    transition-duration: 0.06s;
}

.zg-btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #C8A45C;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--zg-radius-md);
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(200,164,92,0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.02em;
}
.zg-btn-cta-secondary:hover {
    background: #B8933E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200,164,92,0.45);
}
.zg-btn-cta-secondary:active {
    transform: scale(0.96);
    transition-duration: 0.06s;
}
.zg-newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
}
.zg-newsletter-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.zg-newsletter-input:focus {
    border-color: #C8A45C;
    background: rgba(255,255,255,0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200,164,92,0.15);
}
.zg-newsletter-privacy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin-top: 1rem;
}

/* ── Section footer CTA ── */
.zg-section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

/* ── Media queries refinements ── */
@media (max-width: 767px) {
    .zg-section { padding: 3rem 0; }
    .zg-section-header { margin-bottom: 2rem; }
    .zg-products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .zg-testimonials-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .zg-blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .zg-newsletter-actions { flex-direction: column; }
    .zg-badges-grid { gap: 1.25rem; }
}

@media (max-width: 480px) {
    .zg-products-grid { grid-template-columns: 1fr; }
    .zg-category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .zg-section-title { font-size: 1.5rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .zg-category-card:hover,
    .zg-product-card:hover,
    .zg-blog-card:hover,
    .zg-testimonial-card-inner:hover,
    .zg-badge-item:hover {
        transform: none !important;
    }
    .zg-product-card:hover .zg-product-image img,
    .zg-blog-card:hover .zg-blog-card-img img {
        transform: none !important;
    }
    .zg-about-img-icon {
        animation: none !important;
    }
    .zg-stagger-in,
    .zg-revealed,
    .zg-stat-pulse {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .zg-back-to-top {
        transition: none !important;
    }
    .zg-header-compact {
        padding: 0 !important;
    }
}

/* ================================================
   UI Interactions — Animations & Micro-interactions
   ================================================ */

/* ── Button Ripple ── */
.zg-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    pointer-events: none;
    animation: zgRippleAnim 0.6s ease-out forwards;
}
@keyframes zgRippleAnim {
    from { transform: scale(0); opacity: 1; }
    to   { transform: scale(4); opacity: 0; }
}

/* Secondary ripple — delayed concentric wave */
@keyframes zgRippleAnim2 {
    from { transform: scale(0); opacity: 0.5; }
    to   { transform: scale(3); opacity: 0; }
}
.zg-ripple-2 {
    animation-name: zgRippleAnim2;
    animation-duration: 0.6s;
    animation-delay: 0.08s;
    background: rgba(255,255,255,0.2);
}

/* Button spotlight — radial gradient following cursor */
.zg-btn-spotlight {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}
.zg-has-spotlight .zg-btn-spotlight {
    opacity: 1;
}

/* Button press — quick scale bounce */
.zg-btn-press {
    transform: scale(0.96) !important;
    transition: transform 0.08s ease !important;
}

.zg-btn,
.elementor-button {
    position: relative;
    overflow: hidden;
}

/* ── Header Compact (shrink on scroll) ── */
.zg-header-compact .zg-header-inner {
    min-height: 52px !important;
}
.zg-header-compact .zg-logo img {
    height: 32px !important;
}
.zg-header-compact {
    box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}
.zg-header.zg-header-transparent.zg-header-compact {
    background: rgba(15,15,26,0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom-color: rgba(255,255,255,0.06) !important;
}
.zg-header-inner {
    transition: min-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-logo img {
    transition: height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── ScrollReveal — Section Entrance ── */
.zg-section,
.elementor-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.zg-section.zg-revealed,
.elementor-section.zg-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Override first .elementor-section (immediately after hero) — no entrance delay */
.zg-hero + .elementor-section {
    transition-delay: 0s;
}

/* ── Staggered Children Entrance ── */
.zg-stagger-item,
.zg-category-card,
.zg-product-card,
.zg-blog-card,
.zg-testimonial-card-inner,
.zg-step,
.zg-badge-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--zg-stagger-delay, 0s);
}
.zg-stagger-item.zg-stagger-in,
.zg-category-card.zg-stagger-in,
.zg-product-card.zg-stagger-in,
.zg-blog-card.zg-stagger-in,
.zg-testimonial-card-inner.zg-stagger-in,
.zg-step.zg-stagger-in,
.zg-badge-item.zg-stagger-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── Stat Counter Pulse ── */
.zg-stat-pulse .zg-hero-stat-number {
    animation: zgStatGlow 0.8s ease-out;
}
@keyframes zgStatGlow {
    0%   { filter: brightness(1); }
    50%  { filter: brightness(1.3); }
    100% { filter: brightness(1); }
}

/* ── Back to Top Button ── */
.zg-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    z-index: 998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2D8A4E, #1E6B37);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(45,138,78,0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.zg-back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(45,138,78,0.4);
}
.zg-back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* ── Card Tilt Prevent Selection ── */
.zg-category-card,
.zg-product-card,
.zg-blog-card {
    -webkit-user-select: none;
    user-select: none;
}

/* ── Hero stat hover pulse ── */
.zg-hero-stat:hover .zg-hero-stat-number {
    transform: scale(1.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Category icon hover spin ── */
.zg-category-icon svg {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.zg-category-card:hover .zg-category-icon svg {
    transform: scale(1.1) rotate(-8deg);
}

/* ── OEM Step hover lift ── */
.zg-step:hover .zg-step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(45,138,78,0.35);
}
.zg-step-number {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Section entrance: reduced first-section delay ── */
.zg-hero + .zg-section {
    transition-delay: 0.05s;
}

/* ── Newsletter input hover glow ── */
.zg-newsletter-input:hover {
    border-color: rgba(255,255,255,0.35);
}
.zg-newsletter-input:focus {
    border-color: #C8A45C !important;
    box-shadow: 0 0 0 3px rgba(200,164,92,0.12), 0 0 20px rgba(200,164,92,0.08) !important;
}

/* ── Badge items hover lift ── */
.zg-badge-item {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-badge-item:hover {
    transform: translateY(-6px);
}

/* ── CTA button accent glow ── */
.zg-btn-accent {
    position: relative;
    overflow: hidden;
}
.zg-btn-accent::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.zg-btn-accent:hover::after {
    opacity: 1;
}

/* ── Testimonials subtle hover ── */
.zg-testimonial-card-inner {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Blog card title underline expand ── */
.zg-blog-card-title a {
    background-image: linear-gradient(transparent calc(100% - 2px), #2D8A4E 2px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-blog-card:hover .zg-blog-card-title a {
    background-size: 100% 100%;
}

/* ── Divider animation ── */
.zg-divider-animate {
    height: 2px;
    background: linear-gradient(to right, #2D8A4E, #C8A45C, #2D8A4E);
    background-size: 200% 100%;
    animation: zgDividerShimmer 3s linear infinite;
}
@keyframes zgDividerShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Touch device: disable hover transforms ── */
@media (hover: none) and (pointer: coarse) {
    .zg-category-card:hover,
    .zg-product-card:hover,
    .zg-blog-card:hover,
    .zg-testimonial-card-inner:hover,
    .zg-badge-item:hover,
    .zg-step:hover .zg-step-number {
        transform: none !important;
    }
    .zg-category-card:hover .zg-category-icon {
        background: #E8F5EC !important;
        color: #2D8A4E !important;
    }
    .zg-category-card:hover .zg-category-icon svg {
        transform: none !important;
    }
    .zg-hero-stat:hover .zg-hero-stat-number {
        transform: none !important;
    }
    .zg-back-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 16px;
    }
}

/* ════════════════════════════════════════════════════════════
   Button Dynamic Effects — 按钮动态交互系统
   ════════════════════════════════════════════════════════════ */

/* ── 1. Icon Slide — SVG icons animate on hover ── */
.zg-btn svg:last-child,
.elementor-button .elementor-button-icon {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-btn:hover svg:last-child,
.elementor-button:hover .elementor-button-icon {
    transform: translateX(5px);
}
.zg-btn svg:first-child:not(:only-child) {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-btn:hover svg:first-child:not(:only-child) {
    transform: translateX(-3px);
}
/* Elementor button icon alignment */
.elementor-button .elementor-button-icon {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── 2. Shimmer Sweep — light streak across button on hover ── */
.zg-btn-primary::before,
.zg-btn-accent::before,
.elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 1;
    transition: left 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-btn-primary:hover::before,
.zg-btn-accent:hover::before,
.elementor-button:hover::before {
    left: 125%;
}
/* Hide shimmer on outline & ghost variants */
.zg-btn-outline-white::before,
.zg-btn-outline::before,
.zg-btn-white::before,
.zg-btn-secondary::before {
    display: none !important;
}

/* ── 3. Outline Button — border glow on hover ── */
.zg-btn-outline-white:hover {
    border-color: #ffffff;
    box-shadow:
        0 0 24px rgba(255,255,255,0.12),
        inset 0 0 24px rgba(255,255,255,0.03);
}
.zg-btn-outline:hover {
    border-color: #2D8A4E;
    box-shadow: 0 0 24px rgba(45,138,78,0.15);
}

/* ── 4. Click Press Effect — snappy scale on :active ── */
.zg-btn:active,
.elementor-button:active {
    transform: scale(0.96) !important;
    transition-duration: 0.06s !important;
}

/* ── 5. Hero CTA Breathing Glow ── */
.zg-hero-actions .zg-btn-accent {
    animation: zgCtaBreath 3s ease-in-out infinite;
}
@keyframes zgCtaBreath {
    0%, 100% { box-shadow: 0 4px 20px rgba(200,164,92,0.25); }
    50%      { box-shadow: 0 4px 36px rgba(200,164,92,0.5); }
}

/* ── 6. Text Link Button — underline grows from center ── */
.zg-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    color: #2D8A4E;
    font-weight: 600;
    font-size: inherit;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}
.zg-btn-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}
.zg-btn-link:hover::after {
    width: 100%;
}
.zg-btn-link svg {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-btn-link:hover svg {
    transform: translateX(4px);
}

/* ── 7. Focus-visible ring for keyboard accessibility ── */
.zg-btn:focus-visible,
.elementor-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45,138,78,0.3),
                0 0 0 6px rgba(45,138,78,0.1) !important;
}

/* ── 8. Search button icon rotation ── */
.zg-search-form .zg-btn:hover svg {
    transform: rotate(90deg) scale(1.1);
}
.zg-search-form .zg-btn svg {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── 9. Header CTA button extra lift ── */
.zg-header-cta .zg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(45,138,78,0.3);
}

/* ── 10. Mobile menu CTA button ── */
.zg-mobile-panel .zg-btn-primary {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-mobile-panel .zg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(45,138,78,0.3);
}

/* ── Reduced motion: disable all button animations ── */
@media (prefers-reduced-motion: reduce) {
    .zg-btn::before,
    .elementor-button::before {
        display: none !important;
    }
    .zg-btn,
    .elementor-button {
        animation: none !important;
    }
    .zg-btn svg,
    .elementor-button svg,
    .elementor-button .elementor-button-icon {
        transform: none !important;
        animation: none !important;
    }
    .zg-btn:active,
    .elementor-button:active {
        transform: none !important;
    }
}
/* ════════════════════════════════════════════════════════════
   Premium CTA Enhanced — Elementor Button Widgets
   "Start Your Project" & "View All Articles"
   ════════════════════════════════════════════════════════════ */

/* ── Widget spacing ── */
.elementor-element-9fc6f64fc7,
.elementor-element-a3210c5aeb {
    margin-top: 2.5rem;
}

/* ── "Start Your Project" — 奢华金色渐变 ── */
.elementor-element-9fc6f64fc7 .elementor-button {
    background: linear-gradient(135deg, #C8A45C 0%, #D4B06A 40%, #A8883E 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    padding: 1rem 2.75rem !important;
    box-shadow:
        0 4px 20px rgba(200,164,92,0.35),
        0 1px 3px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}
.elementor-element-9fc6f64fc7 .elementor-button:hover {
    transform: translateY(-3px) !important;
    box-shadow:
        0 12px 32px rgba(200,164,92,0.45),
        0 2px 6px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
}
.elementor-element-9fc6f64fc7 .elementor-button:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(200,164,92,0.4) !important;
    transition-duration: 0.1s !important;
}

/* ── "View All Articles" — 精致翡翠描边 ── */
.elementor-element-a3210c5aeb .elementor-button {
    background: transparent !important;
    border: 2px solid #2D8A4E !important;
    color: #2D8A4E !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    padding: 0.875rem 2.5rem !important;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}
.elementor-element-a3210c5aeb .elementor-button:hover {
    background: linear-gradient(135deg, #2D8A4E, #1E6B37) !important;
    color: #fff !important;
    border-color: #1E6B37 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 28px rgba(45,138,78,0.3) !important;
}
.elementor-element-a3210c5aeb .elementor-button:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(45,138,78,0.2) !important;
    transition-duration: 0.1s !important;
}

/* ── Hide global shimmer on outline button ── */
.elementor-element-a3210c5aeb .elementor-button::before {
    display: none !important;
}

/* ── Focus-visible accessibility rings ── */
.elementor-element-9fc6f64fc7 .elementor-button:focus-visible,
.elementor-element-a3210c5aeb .elementor-button:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(45,138,78,0.4),
                0 0 0 6px rgba(45,138,78,0.1) !important;
}

/* ── Touch device refinements ── */
@media (hover: none) and (pointer: coarse) {
    .elementor-element-9fc6f64fc7 .elementor-button:hover,
    .elementor-element-a3210c5aeb .elementor-button:hover {
        transform: none !important;
    }
}

/* ================================================
   Elementor UI Component Classes (App Level)
   ================================================ */

/* ── Social Icons (topbar) ── */
.zg-topbar-social a.elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: rgba(255,255,255,0.5);
    fill: rgba(255,255,255,0.5);
    background: none !important;
    padding: 0;
    transition: color 0.2s ease;
    border-radius: 0;
}
.zg-topbar-social a.elementor-social-icon:hover {
    color: #fff;
    fill: #fff;
    background: none !important;
}
.zg-topbar-social a.elementor-social-icon svg {
    width: 14px;
    height: 14px;
}

/* ── Social Icons (footer) ── */
.zg-footer-social a.elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--zg-gray-400);
    fill: var(--zg-gray-400);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    padding: 0;
    border: none;
}
.zg-footer-social a.elementor-social-icon:hover {
    background: var(--zg-primary);
    color: #fff;
    fill: #fff;
    transform: translateY(-2px);
}
.zg-footer-social a.elementor-social-icon svg {
    width: 16px;
    height: 16px;
}

/* ── Nav items ── */
.zg-nav a.elementor-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: var(--zg-text-sm);
    text-decoration: none;
    border: none;
    background: none;
    position: relative;
    cursor: pointer;
    border-radius: var(--zg-radius-md);
}
.zg-nav a.elementor-item:hover {
    color: #c8a45c;
}
.zg-nav a.elementor-item::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: #c8a45c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.zg-nav a.elementor-item:hover::after,
.zg-nav a.elementor-item.active::after {
    transform: scaleX(1);
}

/* ── Mobile menu items ── */
.zg-mobile-main a.elementor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1.5rem;
    color: var(--zg-gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    background: none;
    border-bottom: 1px solid var(--zg-gray-100);
}
.zg-mobile-main a.elementor-item:hover {
    color: var(--zg-primary);
    background: var(--zg-gray-100);
}

/* ── Dropdown & footer sub items ── */
.zg-mobile-sub-panel-links a.elementor-sub-item,
.zg-footer-menu a.elementor-sub-item {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--zg-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
    border: none;
    background: none;
}
.zg-mobile-sub-panel-links a.elementor-sub-item:hover {
    color: var(--zg-primary);
}
.zg-footer-menu a.elementor-sub-item {
    color: var(--zg-gray-400);
}
.zg-footer-menu a.elementor-sub-item:hover {
    color: var(--zg-primary-light);
}

/* ── Footer bottom items ── */
.zg-footer-bottom-inner a.elementor-item {
    color: var(--zg-gray-400);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8125rem;
    display: inline;
}
.zg-footer-bottom-inner a.elementor-item:hover {
    color: var(--zg-white);
}

/* ── Search hints items ── */
.zg-search-hints a.elementor-item {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    background: none;
    font-size: 0.875rem;
    display: inline-block;
    transition: all 0.2s ease;
}
.zg-search-hints a.elementor-item:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
}

/* ── Language dropdown items ── */
.zg-lang-dropdown a.elementor-item {
    display: block;
    padding: var(--zg-space-2) var(--zg-space-3);
    color: var(--zg-gray-600);
    font-size: var(--zg-text-sm);
    text-decoration: none;
    border-radius: var(--zg-radius-sm);
    transition: var(--zg-transition);
    border: none;
    background: none;
}
.zg-lang-dropdown a.elementor-item:hover {
    background: var(--zg-primary-light);
    color: var(--zg-primary);
}

/* ── Logo image link ── */
a.elementor-image-logo-link {
    display: inline-flex;
    text-decoration: none;
    line-height: 0;
}

/* ── Button content wrapper gap ── */
.elementor-button.elementor-size-sm .elementor-button-content-wrapper { gap: 6px; }
.elementor-button.elementor-size-md .elementor-button-content-wrapper { gap: 8px; }
.elementor-button.elementor-size-lg .elementor-button-content-wrapper { gap: 10px; }

/* ════════════════════════════════════════════
   Section: OEM / ODM — Dark Theme UI Refinements
   ════════════════════════════════════════════ */

/* Decorative background glow on OEM dark section */
.elementor-element-3eb0b95133 > .elementor-container {
    position: relative;
}
.elementor-element-3eb0b95133 > .elementor-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(200,164,92,0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(255,255,255,0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Override light-themed step classes for dark section context */
.zg-section--service .zg-step-number {
    font-family: 'Noto Serif SC', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8A45C 0%, #A8883E 100%);
    box-shadow: 0 4px 16px rgba(200,164,92,0.25);
    margin-bottom: 0.75rem;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
    position: relative;
}

.zg-section--service .zg-step:hover .zg-step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(200,164,92,0.35);
}

/* Step title — serif white */
.zg-section--service .zg-step-title {
    font-family: 'Noto Serif SC', Georgia, serif !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 0.5rem !important;
    position: relative;
    display: inline-block;
    padding-bottom: 0.375rem;
}

/* Gold underline accent on step title */
.zg-section--service .zg-step-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: #C8A45C;
    border-radius: 1px;
    opacity: 0.4;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.zg-section--service .zg-step:hover .zg-step-title::after {
    width: 42px;
    opacity: 0.8;
}

/* Step description — muted light gray */
.zg-section--service .zg-step p {
    font-size: 0.8125rem !important;
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.7 !important;
    max-width: 240px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Step card — hover lift */
.zg-section--service .zg-step {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.3s ease;
    padding: 1.25rem 0.75rem;
    border-radius: 16px;
}

.zg-section--service .zg-step:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.03);
}

/* Section heading with gold underline accent */
.zg-section--service .elementor-heading-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.25rem;
    color: #ffffff;
}
.zg-section--service .elementor-heading-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(to right, #C8A45C, #A8883E);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* Description text on dark section — ensure white text */
.zg-section--service .elementor-widget-text-editor {
    color: rgba(255,255,255,0.7);
}
.zg-section--service .elementor-widget-text-editor p {
    color: rgba(255,255,255,0.7);
}
.zg-section--service .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}


/* ════════════════════════════════════════════
   Section: Trusted by Global Brands — Enhanced Cards
   ════════════════════════════════════════════ */

/* Section heading gold underline */
.zg-testimonials .elementor-heading-title {
    position: relative;
    display: inline-block;
}
.zg-testimonials .elementor-heading-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(to right, #C8A45C, #A8883E);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* Card shadow refinement */
.zg-testimonial-card-inner {
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
}

.zg-testimonial-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
    border-color: #DEE2E6;
}

/* Decorative opening quote mark */
.zg-testimonial-card-inner .zg-testimonial-text {
    position: relative;
}
.zg-testimonial-card-inner .zg-testimonial-text::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 1.75rem;
    color: #C8A45C;
    opacity: 0.3;
    position: absolute;
    left: -0.5rem;
    top: -0.25rem;
    line-height: 1;
}

/* Star scale on card hover */
.zg-testimonial-stars svg {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-testimonial-card-inner:hover .zg-testimonial-stars svg {
    transform: scale(1.12);
}

/* Avatar hover polish */
.zg-testimonial-avatar {
    box-shadow: 0 2px 8px rgba(45,138,78,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zg-testimonial-card-inner:hover .zg-testimonial-avatar {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(45,138,78,0.3);
}

/* Gold left accent bar (ensure all cards have it) */
.zg-testimonial-card-inner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #C8A45C, #A8883E);
    border-radius: 0 2px 2px 0;
}


/* ════════════════════════════════════════════
   Touch Device: disable hover transforms
   ════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
    .zg-section--service .zg-step:hover {
        transform: none !important;
        background: none !important;
    }
    .zg-section--service .zg-step:hover .zg-step-number {
        transform: none !important;
        box-shadow: 0 4px 16px rgba(200,164,92,0.25) !important;
    }
    .zg-section--service .zg-step:hover .zg-step-title::after {
        width: 24px !important;
        opacity: 0.4 !important;
    }
    .zg-testimonial-card-inner:hover {
        transform: none !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    }
    .zg-testimonial-card-inner:hover .zg-testimonial-stars svg {
        transform: none !important;
    }
    .zg-testimonial-card-inner:hover .zg-testimonial-avatar {
        transform: none !important;
    }
}


/* ════════════════════════════════════════════
   Reduced Motion: disable all animations
   ════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .zg-section--service .zg-step,
    .zg-section--service .zg-step-number,
    .zg-section--service .zg-step-title::after,
    .zg-testimonial-card-inner,
    .zg-testimonial-stars svg,
    .zg-testimonial-avatar {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    .zg-section--service .zg-step-title::after {
        width: 24px !important;
        opacity: 0.4 !important;
    }
    .zg-section--service .zg-step:hover {
        transform: none !important;
        background: none !important;
    }
}

/* ════════════════════════════════════════════════════════════
   Product Pages - Archive & Single
   ════════════════════════════════════════════════════════════ */

/* -- Breadcrumb -- */
.zg-breadcrumb {
    font-size: 0.8125rem;
    color: var(--zg-gray-400);
    padding: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.zg-breadcrumb a {
    color: var(--zg-gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
}
.zg-breadcrumb a:hover {
    color: var(--zg-primary);
}
.zg-breadcrumb-sep {
    color: var(--zg-gray-300);
    font-size: 0.75rem;
}

/* -- Archive Header -- */
.zg-archive-header {
    background: var(--zg-gray-100);
    padding: 0.75rem 0 2rem;
    text-align: center;
}
.zg-archive-header .zg-breadcrumb {
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0.5rem;
}
.zg-archive-title {
    font-family: "Noto Serif SC", Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--zg-gray-800);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}
.zg-archive-desc {
    font-size: 1rem;
    color: var(--zg-gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -- Product Page Title -- */
.zg-page-title {
    font-family: "Noto Serif SC", Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--zg-gray-800);
    margin: 0 0 0.5rem;
    line-height: 1.15;
}
.zg-page-desc {
    font-size: 1rem;
    color: var(--zg-gray-500);
    max-width: 600px;
    margin: 0 0 2rem;
    line-height: 1.7;
}

/* -- Sidebar Layout -- */
.zg-layout-with-sidebar {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.zg-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--zg-header-height, 80px) + 1rem);
}
.zg-sidebar-block {
    background: #fff;
    border: 1px solid var(--zg-gray-200);
    border-radius: var(--zg-radius-lg);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}
.zg-sidebar-block--cta p {
    font-size: 0.875rem;
    color: var(--zg-gray-500);
    line-height: 1.6;
    margin: 0 0 1rem;
}

/* -- Sidebar Contact Us button -- */
.zg-sidebar-block .wp-block-button__link,
.zg-sidebar-block .elementor-button-link,
.zg-sidebar-block .elementor-button,
.zg-sidebar-block a.button,
.zg-sidebar-block a.btn,
.zg-sidebar-block--cta .wp-block-button__link,
.zg-sidebar-block--cta .elementor-button-link,
.zg-sidebar-block--cta .elementor-button,
.zg-sidebar-block--cta a.button,
.zg-sidebar-block--cta a.btn,
.zg-sidebar .widget_text a.elementor-button {
    display: inline-block;
    background: #C8A45C !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
}
.zg-sidebar-block .wp-block-button__link:hover,
.zg-sidebar-block .elementor-button-link:hover,
.zg-sidebar-block .elementor-button:hover,
.zg-sidebar-block a.button:hover,
.zg-sidebar-block a.btn:hover,
.zg-sidebar-block--cta .wp-block-button__link:hover,
.zg-sidebar-block--cta .elementor-button-link:hover,
.zg-sidebar-block--cta .elementor-button:hover,
.zg-sidebar-block--cta a.button:hover,
.zg-sidebar-block--cta a.btn:hover,
.zg-sidebar .widget_text a.elementor-button:hover {
    background: #A8883E !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 164, 92, 0.35);
}
.zg-sidebar-heading {
    font-family: "Noto Serif SC", Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--zg-gray-800);
    margin: 0 0 0.75rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--zg-primary);
}
.zg-sidebar-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.zg-sidebar-cat-list li {
    margin: 0;
}
.zg-sidebar-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zg-gray-600);
    text-decoration: none;
    border-bottom: 1px solid var(--zg-gray-100);
    transition: color 0.2s ease;
}
.zg-sidebar-cat-list a:hover,
.zg-sidebar-cat-list a.active {
    color: var(--zg-primary);
}
.zg-sidebar-cat-list a.active {
    font-weight: 600;
}
.zg-sidebar-cat-list a .zg-cat-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    color: var(--zg-gray-300);
}
.zg-sidebar-cat-list a:hover .zg-cat-arrow,
.zg-sidebar-cat-list a.active .zg-cat-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--zg-primary);
}

.zg-main-content {
    flex: 1;
    min-width: 0;
}

/* -- Category Sections (All Products Page) -- */
.zg-cat-section {
    margin-bottom: 2.5rem;
}
.zg-cat-section:last-child {
    margin-bottom: 0;
}
.zg-cat-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.zg-cat-section-title {
    font-family: "Noto Serif SC", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--zg-gray-800);
    margin: 0;
}
.zg-view-more-btn.elementor-button {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: var(--zg-primary);
    border: 1.5px solid var(--zg-primary);
    border-radius: var(--zg-radius-md);
    transition: all 0.25s ease;
    text-decoration: none;
}
.zg-view-more-btn.elementor-button:hover {
    background: var(--zg-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* -- 3-column grid for category sections -- */
.zg-products-grid--cat {
    grid-template-columns: repeat(3, 1fr);
}

/* -- Sidebar responsive -- */
@media (max-width: 1023px) {
    .zg-layout-with-sidebar {
        flex-direction: column;
    }
    .zg-sidebar {
        width: 100%;
        position: static;
    }
    .zg-products-grid--cat {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .zg-products-grid--cat {
        grid-template-columns: 1fr;
    }
}

/* -- Product Grid (Archive & Related) -- */
.zg-archive-grid-section {
    padding: 3rem 0;
}
.zg-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .zg-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .zg-products-grid { grid-template-columns: repeat(4, 1fr); }
}

.zg-product-card {
    background: #fff;
    border: 1px solid var(--zg-gray-200);
    border-radius: var(--zg-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
}
.zg-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--zg-shadow-lg);
}
.zg-product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.zg-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--zg-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.zg-product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    padding: 8px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-product-card:hover .zg-product-image img {
    transform: scale(1.03);
}
.zg-product-tag {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    padding: 0.25rem 0.625rem;
    background: var(--zg-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--zg-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.zg-product-cat-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--zg-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--zg-radius-sm);
    letter-spacing: 0.03em;
    pointer-events: none;
}
.zg-product-info {
    padding: 1rem 1.125rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.zg-product-name {
    font-family: "Noto Serif SC", Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--zg-gray-800);
    margin: 0 0 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zg-product-code {
    font-size: 0.75rem;
    color: var(--zg-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}
.zg-product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: auto;
    padding-top: 0.5rem;
}
.zg-product-specs span {
    font-size: 0.6875rem;
    color: var(--zg-gray-500);
    padding: 0.1875rem 0.5rem;
    background: var(--zg-gray-100);
    border-radius: var(--zg-radius-sm);
}
.zg-product-card .zg-btn {
    margin: 0 1.125rem 1rem;
    text-align: center;
    justify-content: center;
}

/* -- Empty state -- */
.zg-archive-empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--zg-gray-500);
    font-size: 1rem;
}

/* -- Pagination -- */
.zg-pagination {
    padding: 3rem 0 1rem;
    text-align: center;
}
.zg-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.zg-pagination li {
    margin: 0;
}
.zg-pagination a,
.zg-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zg-gray-600);
    text-decoration: none;
    border: 1px solid var(--zg-gray-200);
    border-radius: var(--zg-radius-md);
    transition: all 0.2s ease;
    background: #fff;
}
.zg-pagination a:hover {
    color: var(--zg-primary);
    border-color: var(--zg-primary);
    background: var(--zg-primary-light);
}
.zg-pagination .current span {
    color: #fff;
    background: var(--zg-primary);
    border-color: var(--zg-primary);
}
.zg-pagination .prev,
.zg-pagination .next {
    font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   Single Product Page
   ════════════════════════════════════════════════════════════ */

.zg-product-single {
    padding-bottom: 0;
}
.zg-product-single .zg-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* -- Detail Layout -- */
.zg-product-single {
    padding-top: 0;
}
.zg-product-detail {
    padding: 1.5rem 0 2rem;
}

/* 3D Viewer layout override */
.zg-product-detail-layout--3d {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .zg-product-detail-layout--3d {
        grid-template-columns: 1fr 420px;
        gap: 2.5rem;
    }
}
@media (min-width: 1024px) {
    .zg-product-detail-layout--3d {
        grid-template-columns: 1fr 440px;
        gap: 3rem;
    }
}

/* ── 3D Model Viewer ── */
.zg-product-3d-viewer-wrap {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 55vh;
    max-height: 700px;
    border-radius: var(--zg-radius-xl);
    overflow: hidden;
    background: radial-gradient(ellipse at center, #f5f5f5 0%, #e8e8e8 100%);
    border: 1px solid var(--zg-gray-200);
    cursor: grab;
    touch-action: pan-y;
    align-self: start;
}
.zg-product-3d-viewer-wrap:active {
    cursor: grabbing;
}
.zg-product-3d-viewer-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Loading spinner */
.zg-3d-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}
.zg-3d-loading svg {
    animation: zgSpin 1s linear infinite;
    color: #999;
}
@keyframes zgSpin {
    to { transform: rotate(360deg); }
}

/* Drag hint */
.zg-3d-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

@media (max-width: 767px) {
    .zg-product-3d-viewer-wrap {
        min-height: 320px;
        height: 45vh;
        max-height: 500px;
    }
    .zg-product-detail-layout--3d {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.zg-product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .zg-product-detail-layout {
        grid-template-columns: 3fr 2fr;
        gap: 3rem;
    }
}

/* Image — sticky */
.zg-product-gallery {
    align-self: start;
    z-index: 3;
}
.zg-product-detail-layout {
    position: relative;
}

/* -- Carousel -- */
.zg-carousel {
    position: relative;
}
.zg-product-main-image {
    position: relative;
    border-radius: var(--zg-radius-xl);
    overflow: hidden;
    background: var(--zg-gray-100);
    border: 1px solid var(--zg-gray-200);
    aspect-ratio: 4 / 3;
}
.zg-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zg-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.zg-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Carousel Arrows */
.zg-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zg-gray-600);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    opacity: 0;
}
.zg-carousel:hover .zg-carousel-arrow {
    opacity: 1;
}
.zg-carousel-arrow:hover {
    background: #fff;
    color: var(--zg-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.zg-carousel-prev {
    left: 12px;
}
.zg-carousel-next {
    right: 12px;
}

/* -- Product Gallery Thumbnails -- */
.zg-product-thumbs {
    display: flex;
    gap: 0.625rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x mandatory;
    touch-action: pan-y;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.zg-product-thumbs::-webkit-scrollbar {
    display: none;
}
.zg-thumb-btn {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--zg-radius-md);
    overflow: hidden;
    border: 2px solid var(--zg-gray-200);
    cursor: pointer;
    padding: 0;
    background: var(--zg-gray-100);
    transition: border-color 0.2s ease, opacity 0.2s ease;
    scroll-snap-align: start;
}
.zg-thumb-btn:hover {
    border-color: var(--zg-primary);
    opacity: 0.85;
}
.zg-thumb-btn.active {
    border-color: var(--zg-primary);
    opacity: 1;
}
.zg-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info Panel */
.zg-product-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.zg-product-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.zg-product-cat-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--zg-primary);
    background: var(--zg-primary-light);
    border-radius: var(--zg-radius-full);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}
.zg-product-cat-tag:hover {
    background: var(--zg-primary);
    color: #fff;
}
.zg-product-title {
    font-family: "Noto Serif SC", Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--zg-gray-800);
    margin: 0;
    line-height: 1.2;
}
.zg-product-code-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--zg-accent);
    display: block;
}
.zg-product-excerpt {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--zg-gray-600);
    margin: 0;
}

/* Specs Grid */
.zg-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--zg-gray-100);
    border-radius: var(--zg-radius-lg);
}
.zg-spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.zg-spec-item:nth-last-child(-n+2):only-child {
    grid-column: span 2;
}
.zg-spec-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--zg-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.zg-spec-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zg-gray-700);
}

/* Certifications */
.zg-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.zg-cert-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--zg-primary);
    border: 1.5px solid var(--zg-primary);
    border-radius: var(--zg-radius-full);
    letter-spacing: 0.04em;
}

/* CTA Buttons */
.zg-product-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--zg-gray-200);
    margin-top: 0.5rem;
}
.zg-product-cta .zg-btn {
    flex: 1;
    min-width: 180px;
    justify-content: center;
}


/* -- Details Tabs -- */
.zg-product-details-tabs {
    padding: 0 0 2rem;
}
.zg-tabs {
    background: #fff;
    border-radius: var(--zg-radius-xl);
    border: 1px solid var(--zg-gray-200);
    overflow: hidden;
}
.zg-tab-headers {
    display: flex;
    border-bottom: 1px solid var(--zg-gray-200);
    overflow-x: auto;
}
.zg-tab-btn {
    flex-shrink: 0;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--zg-gray-500);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    font-family: inherit;
}
.zg-tab-btn:hover {
    color: var(--zg-primary);
}
.zg-tab-btn.active {
    color: var(--zg-primary);
}
.zg-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: var(--zg-primary);
    border-radius: 1px 1px 0 0;
}
.zg-tab-pane {
    display: none;
    padding: 2rem;
}
.zg-tab-pane.active {
    display: block;
}
.zg-tab-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--zg-gray-600);
}
.zg-product-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--zg-gray-600);
}
.zg-product-description p:last-child {
    margin-bottom: 0;
}


/* -- Related Products -- */
.zg-related-products {
    padding: 4rem 0;
}
.zg-products-grid--related {
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
    .zg-products-grid--related { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .zg-products-grid--related { grid-template-columns: repeat(4, 1fr); }
}


/* -- Reduced motion -- */
@media (prefers-reduced-motion: reduce) {
    .zg-product-card,
    .zg-product-card .zg-product-image img {
        transition: none !important;
    }
    .zg-product-card:hover {
        transform: none !important;
    }
    .zg-product-card:hover .zg-product-image img {
        transform: none !important;
    }
}


/* -- Mobile Responsive -- */
@media (max-width: 767px) {
    .zg-archive-header { padding: 0.5rem 0 1.5rem; }
    .zg-archive-grid-section { padding: 2rem 0; }
    .zg-products-grid { gap: 1rem; }
    .zg-product-info { padding: 0.75rem 0.875rem 0.5rem; }
    .zg-product-name { font-size: 0.875rem; }
    .zg-product-card .zg-btn { margin: 0 0.875rem 0.75rem; font-size: 0.8125rem; }

    .zg-product-detail { padding: 1rem 0 2rem; }
    .zg-product-gallery { position: static; }
    .zg-carousel-arrow { opacity: 1; width: 34px; height: 34px; }
    .zg-specs-grid { grid-template-columns: 1fr; gap: 0.625rem; padding: 1rem; }
    .zg-tab-btn { padding: 0.75rem 1rem; font-size: 0.8125rem; }
    .zg-tab-pane { padding: 1.25rem; }
    .zg-product-cta { flex-direction: column; }
    .zg-product-cta .zg-btn { min-width: 0; }
}

@media (max-width: 480px) {
    .zg-products-grid { grid-template-columns: 1fr; }
    .zg-product-detail-layout { gap: 1.5rem; }
}


/* Hide topbar on product pages — saves 36px of space */
.post-type-archive-product .zg-topbar,
.single-product .zg-topbar,
.tax-product_category .zg-topbar {
    display: none !important;
}

/* Disable entrance animation on custom PHP templates (no JS reveal) */
.post-type-archive-product .zg-section,
.tax-product_category .zg-section,
.single-product .zg-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}


/* ========================================
   Elementor Default Typography — Brand Sizes
   Applied when heading typography is 'default'.
   ============================================ */
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Noto Serif SC', Georgia, serif;
    letter-spacing: -0.02em;
}
h1.elementor-heading-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}
h2.elementor-heading-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.25;
}
h3.elementor-heading-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}
h4.elementor-heading-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
}
@media (max-width: 767px) {
    h1.elementor-heading-title { font-size: 2.25rem; }
    h2.elementor-heading-title { font-size: 2rem; }
    h3.elementor-heading-title { font-size: 1.5rem; }
    h4.elementor-heading-title { font-size: 1.25rem; }
}

/* OEM heading color managed via Elementor editor */


/* ========================================
   Customizer 动态元素基础样式
   ======================================== */

/* 粘性页眉 */
.zg-header.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 站点标识 */
.zg-site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}
.zg-site-title {
    font-weight: 700;
    line-height: 1.2;
}
.zg-site-title a {
    color: inherit;
    text-decoration: none;
}
.zg-site-description {
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* 页眉布局变体 */
.zg-header-inner.layout-center-logo-split-nav {
    flex-direction: column;
    align-items: center;
}
.zg-header-inner.layout-center-logo-split-nav .zg-logo {
    margin-bottom: 8px;
}
.zg-header-inner.layout-center-logo-split-nav .zg-nav {
    width: 100%;
    justify-content: center;
}
.zg-header-inner.layout-left-nav-right-logo {
    flex-direction: row-reverse;
}
.zg-header-inner.layout-left-nav-right-logo .zg-nav {
    margin-left: 0;
    margin-right: auto;
}

/* 自定义 HTML 插槽 */
.zg-header-custom-html-slot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.zg-footer-custom-html-slot {
    text-align: center;
    padding: 16px 0;
    font-size: 0.8125rem;
    opacity: 0.8;
}
.zg-footer-custom-html-slot a {
    color: inherit;
    text-decoration: underline;
}
/* 版权栏文字样式 */
.zg-copyright-text {
    font-size: 0.875rem;
}

/* 响应式：调整页脚列数 */
@media (max-width: 991px) {
    .zg-footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 575px) {
    .zg-footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   AI Chatbot — Overlay & Spacing Fixes
   ======================================== */

/* ── Ensure chatbot input text is visible ── */
.mwai-chatgpt-theme .mwai-input .mwai-input-text textarea,
.mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder {
    color: #1a1a2e !important;
}
.mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
    background: #f5f5f5 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
}
.mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus {
    background: #fff !important;
    border-color: #2D8A4E !important;
    box-shadow: 0 0 0 3px rgba(45,138,78,0.1) !important;
}

/* ── Chatbot trigger icon — ensure spacing from back-to-top ── */
.mwai-chatgpt-theme.mwai-window .mwai-trigger {
    bottom: 28px !important;
    right: 28px !important;
}

/* ── Chatbot bubble text — make it readable ── */
.mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
    background: #2D8A4E !important;
    color: #fff !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
}

/* ── On mobile, adjust spacing ── */
@media (max-width: 768px) {
    .zg-back-to-top {
        bottom: 80px !important;
        right: 16px !important;
    }
    .mwai-chatgpt-theme.mwai-window .mwai-trigger {
        bottom: 20px !important;
        right: 16px !important;
    }
}
