/*
Theme Name: Astra Child Industrial (B2B Pro)
Theme URI: https://wiretyingmachine.com
Description: A professional industrial theme for Wire Tying Machine. Optimized for B2B inquiry and modern machinery showcase.
Author: Assistant
Author URI: https://wiretyingmachine.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
*/

/* 
 * 工业补丁 - INDUSTRIAL MACHINE PRO - B2B EXCLUSIVE
 */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Inter:wght@300;400;600&display=swap');

:root {
    --ind-blue: #0051a8;        /* 科技蓝 */
    --ind-dark: #1a1a1a;        /* 工业黑 */
    --ind-gold: #d4af37;        /* 机械金 */
    --ind-gray: #f4f4f4;        /* 背景灰 */
    --ind-border: #e0e0e0;      /* 细边框 */
}

/* 1. 整体氛围重塑 */
body {
    font-family: 'Inter', sans-serif !important;
    background-color: var(--ind-gray) !important;
    color: var(--ind-dark);
}

/* 2. 产品网格优化 - 工业硬朗风 */
.site-main ul.products li.product {
    background: #fff !important;
    border: 1px solid var(--ind-border) !important;
    padding: 20px !important;
    transition: all 0.3s ease;
    text-align: center !important;
}

.site-main ul.products li.product:hover {
    border-color: var(--ind-blue) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transform: translateY(-5px);
}

/* 3. 标题缩小且专业化 */
.woocommerce-products-header__title.page-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--ind-dark) !important;
    border-left: 5px solid var(--ind-blue) !important;
    padding-left: 15px !important;
    margin: 30px 0 !important;
}

/* 4. 彻底隐藏价格与购物车 */
.price, .amount, .woocommerce-Price-amount, .add_to_cart_button, .single_add_to_cart_button {
    display: none !important;
}

/* 5. 隐藏原始 Add to Cart 按钮 */
.site-main ul.products li.product a.button {
    display: none !important;
}

/* 6. 侧边栏精简 */
.widget-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid var(--ind-dark) !important;
    padding-bottom: 8px !important;
    margin-bottom: 20px !important;
}

.widget_product_categories li {
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee !important;
}

.widget_product_categories li a {
    color: #666 !important;
    text-decoration: none !important;
}

.widget_product_categories li a:hover {
    color: var(--ind-blue) !important;
}

/* 7. 移除分类计数数字 */
.count { display: none !important; }
