/*
Theme Name: Astra Child - Cleanroom Solutions
Theme URI: https://your-domain.com/
Description: Child theme for Astra with Cleanroom Solution Tool
Author: Your Name
Author URI: https://your-domain.com/
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-cleanroom
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Astra Child Cleanroom is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* 
注意: 父主题样式已在 functions.php 中通过 wp_enqueue_style 加载
这里不需要使用 @import 语句
*/

/* ===== 基础样式重置和自定义 ===== */

/* 确保子主题继承父主题的基本样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 链接样式 */
a {
    color: #2271b1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #135e96;
    text-decoration: underline;
}

/* 按钮基础样式 */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2271b1;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #135e96;
}

/* 容器宽度优化 */
@media (min-width: 1200px) {
    .site-content .ast-container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 子主题特定样式区域 */
.astra-child-custom {
    padding: 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* 响应式改进 */
@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }
    
    .mobile-full-width {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}





/* ===========================================
   Astra Child Theme - 产品展示系统自定义样式
   =========================================== */

/* 1. 产品分类筛选器样式补充 */
.category-filter-sidebar .category-icon {
    font-size: 20px !important;
    line-height: 1 !important;
}

/* 2. 产品卡片增强样式 */
.elementor-posts-container .elementor-post {
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
}

.elementor-post:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-color: #3498db !important;
}

/* 3. Astra主题兼容调整 */
.ast-container .elementor-section {
    max-width: 100% !important;
}

/* 4. 手机端优化 */
@media (max-width: 768px) {
    .category-filter-sidebar {
        margin-bottom: 30px !important;
    }
    
    .elementor-pagination {
        text-align: center !important;
        
        
        
    }
}


