/*
Theme Name: Kadence Child
Theme URI: https://shuhuapump.com/
Description: Professional child theme for Kadence - Industrial Pumps Website
Author: Your Name
Author URI: https://shuhuapump.com/
Template: kadence
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child
Tags: industrial, pumps, kadence, child-theme

This is a child theme for the Kadence WordPress theme.
All styles and scripts are loaded via functions.php for better performance.
*/

/* ============================================
   设计 Token（全站颜色、阴影、断点约定）
   优化步骤阶段一：统一变量，便于维护
   ============================================ */

:root {
    --global-content-width: 1440px;

    /*
     * 色彩体系与 product-centrifugal-pump.html 对齐
     * --primary #A61B1B | --primary-dark #8B0000 | --primary-light #C44536
     * --bg-dark #1F1F1F | --bg-light #F5F5F5 | 文字 #1F1F1F / #555 / #888 | 边框 #E0E0E0
     */
    --gu-primary: #A61B1B;
    --gu-primary-alt: #8B0000;
    --gu-accent: #C44536;
    --gu-bg-page: #F5F5F5;
    --gu-white: #ffffff;
    --gu-bg-card-alt: #fafafa;
    --gu-bg-dark: #1F1F1F;

    /* 文字色（对齐 HTML --text-primary / --text-secondary / --text-light） */
    --gu-text-primary: #1F1F1F;
    --gu-text-dark: #1F1F1F;
    --gu-text-body: #555555;
    --gu-text-muted: #555555;
    --gu-text-medium: #666666;
    --gu-text-heading: #1F1F1F;
    --gu-text-muted-2: #555555;
    --gu-text-muted-3: #6c757d;
    --gu-text-muted-4: #888888;
    --gu-text-muted-5: #555555;
    --gu-text-muted-6: #374151;
    --gu-text-muted-7: #667085;
    --gu-text-faq: #2E3A4B;
    --gu-text-faq-arrow: #B0B4BC;
    --gu-text-strong: #1F1F1F;
    --gu-border-dark: #333333;
    /* 深色底上的次要文字（对齐 HTML rgba(255,255,255,0.7)） */
    --gu-text-on-dark-muted: rgba(255, 255, 255, 0.7);

    /* 边框与分割线（对齐 --border #E0E0E0） */
    --gu-border: #E0E0E0;
    --gu-border-light: #E0E0E0;
    --gu-border-table: #E0E0E0;
    --gu-border-faq: #E0E3E8;
    --gu-border-cta: #E8E8E8;
    --gu-border-dd: #dddddd;

    /* 区块/表格/按钮 */
    --gu-table-header-bg: #1F1F1F;
    --gu-table-row-alt: #fafafa;
    --gu-table-row-hover: #F3F4F6;
    --gu-section-underline: #A61B1B;
    --gu-btn-contact: #A61B1B;
    --gu-btn-contact-hover: #8B0000;
    --gu-placeholder-bg: #f0f0f0;
    --gu-hover-bg: #f8f9fa;
    --gu-inquiry-card-bg: #3d3d3d;
    /* 对齐 HTML 功能色：蓝 / 绿 / 橙 / 外链 */
    --gu-wp-link: #2563EB;
    --gu-wp-link-hover: #1D4ED8;
    --gu-badge: #EA580C;
    --gu-resource-link: #2563EB;
    --gu-scrollbar-track: #f1f5f9;
    --gu-scrollbar-thumb: #cbd5e1;
    --gu-scrollbar-thumb-hover: #94a3b8;

    /* 阴影（对齐 HTML --shadow / --shadow-hover） */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* 产品/区块描述与副标题（产品页等共用） */
    --gu-desc-size: 15px;
    --gu-desc-line-height: 1.7;
    --gu-subtitle-size: 16px;
    --gu-content-max-width: 1280px;
    /* Available Models 表格区域最大高度（超出则容器内滚动，避免 SKU 过多撑长页面） */
    --gu-available-models-table-max-height: 500px;
}

/* ============================================
   Kadence 内容宽度兜底（修复 content-width-normal 过窄）
   ============================================ */

body.content-width-normal .content-container,
body.content-width-normal .site-container,
body.content-width-normal .entry-content-wrap,
body.content-width-normal .content-area,
body.content-width-normal .content-wrap {
    max-width: var(--global-content-width);
    margin-left: auto;
    margin-right: auto;
}
