/*
Theme Name: Hello Elementor Child
Theme URI: https://yourwebsite.com/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* 这里写你的自定义CSS */
/* =========================
   WooCommerce Tabs - B2B Style
   ========================= */

.woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 0px;
}

/* 外层 tab 列表 */
.woocommerce-tabs ul.tabs.wc-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e6e6e6;
    padding: 0;
    margin: 0 0 25px;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
}

/* 每个 tab */
.woocommerce-tabs ul.tabs.wc-tabs li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* tab 按钮 */
.woocommerce-tabs ul.tabs.wc-tabs li a {
    display: inline-block;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-radius: 6px 6px 0 0;
    transition: all 0.25s ease;
    position: relative;
}

/* hover效果 */
.woocommerce-tabs ul.tabs.wc-tabs li a:hover {
    color: #111;
    background: #f7f7f7;
}

/* active tab */
.woocommerce-tabs ul.tabs.wc-tabs li.active a {
    color: #111;
    font-weight: 600;
}

/* active 下划线（核心视觉点） */
.woocommerce-tabs ul.tabs.wc-tabs li.active a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 3px;
    background: #111;
    border-radius: 2px;
}


/* mobile 优化 */
@media (max-width: 768px) {
    .woocommerce-tabs ul.tabs.wc-tabs {
        gap: 6px;
    }

    .woocommerce-tabs ul.tabs.wc-tabs li a {
        padding: 10px 14px;
        font-size: 13px;
    }
}
.elementor-177 .woocommerce-tabs ul.wc-tabs li {
    margin: 0 !important;
    background: #eee !important;
    border: none !important;
    border-radius: 5px 5px 0 0 !important;
}
/* =========================
   WooCommerce Tabs - B2B Clean Style
   Desktop + Mobile Horizontal Scroll (No Fade Hint)
   ========================= */

/* =========================
   WRAPPER
   ========================= */

.woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 40px;
}

/* =========================
   DESKTOP TABS
   ========================= */

.woocommerce-tabs ul.tabs.wc-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e6e6e6;
    padding: 0;
    margin: 0 0 25px;
    list-style: none;
    overflow: hidden;
}

/* tab item */
.woocommerce-tabs ul.tabs.wc-tabs li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* tab link */
.woocommerce-tabs ul.tabs.wc-tabs li a {
    display: inline-block;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-radius: 6px 6px 0 0;
    transition: all 0.25s ease;
    position: relative;
    background: transparent;
}

/* hover */
.woocommerce-tabs ul.tabs.wc-tabs li a:hover {
    color: #111;
    background: #f7f7f7;
}

/* active tab */
.woocommerce-tabs ul.tabs.wc-tabs li.active a {
    color: #111;
    font-weight: 600;
}

/* active underline */
.woocommerce-tabs ul.tabs.wc-tabs li.active a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 3px;
    background: #111;
    border-radius: 2px;
}

/* =========================
   CONTENT AREA
   ========================= */

.woocommerce-tabs .panel {
    border: none;
    padding: 20px 0 !important;
}

/* =========================
   MOBILE (HORIZONTAL SCROLL)
   ========================= */

@media (max-width: 768px) {

    .woocommerce-tabs ul.tabs.wc-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;

        gap: 10px;
        padding: 0 10px 10px;
        margin-bottom: 20px;

        border-bottom: 1px solid #e6e6e6;
    }

    .woocommerce-tabs ul.tabs.wc-tabs li {
        flex: 0 0 auto !important;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .woocommerce-tabs ul.tabs.wc-tabs li a {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* hide scrollbar Chrome/Safari */
    .woocommerce-tabs ul.tabs.wc-tabs::-webkit-scrollbar {
        display: none;
    }

    /* hide scrollbar Firefox */
    .woocommerce-tabs ul.tabs.wc-tabs {
        scrollbar-width: none;
    }

    /* active spacing fix */
    .woocommerce-tabs ul.tabs.wc-tabs li.active {
        scroll-margin-left: 20px;
    }
}
.product-bottom {
    margin: 0 auto;
    padding: 50px 20px;
}

/* 每个模块块 */
.product-bottom h3 {
    font-size: 20px;
    color: #0b3d91;
    margin-top: 0px;
    margin-bottom: 15px;
    position: relative;
}

/* 标题装饰线 */
.product-bottom h3::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #0b3d91;
    display: block;
    margin-top: 8px;
}

/* 列表整体 */
.product-bottom ul {
    padding-left: 0;
    margin: 0;
}

/* 每一条 */
.product-bottom ul li {
    list-style: none;
    background: #f8fafc;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14.5px;
    color: #555;
    line-height: 1.7;
    border: 1px solid #eee;
    transition: all 0.25s ease;
    position: relative;
}

/* 左侧小标识（科技感） */
.product-bottom ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #0b3d91;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: 20px;
}

/* 内容左缩进（给圆点让位置） */
.product-bottom ul li {
    padding-left: 28px;
}

/* hover效果 */
.product-bottom ul li:hover {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #0b3d91;
    transform: translateY(-2px);
}

/* 段落（Vision / ODM） */
.product-bottom p {
    background: #f8fafc;
    padding: 16px 18px;
    border-radius: 8px;
    font-size: 14.5px;
    color: #555;
    line-height: 1.7;
    border: 1px solid #eee;
}

/* 强调 */
.product-bottom strong {
    color: #111;
    font-weight: 600;
}

/* 模块分隔 */
.product-bottom h3:not(:first-child) {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* 整体卡片感 */
.product-bottom {
    background: #ffffff;
    border-radius: 12px;
}

/* 移动端 */
@media (max-width: 768px) {
    .product-bottom {
        padding: 30px 15px;
    }

    .product-bottom h3 {
        font-size: 18px;
    }

    .product-bottom ul li,
    .product-bottom p {
        font-size: 14px;
    }
}
.custom-cat-banner {
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-cat-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.custom-cat-banner .content {
    position: relative;
    color: #fff;
    text-align: center;
    max-width: 800px;
}

.custom-cat-banner h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.custom-cat-banner p {
    font-size: 16px;
    opacity: 0.9;
}
.product-selling-points {
    margin-top: 0px;
}

.selling-item {
    margin-bottom: 10px;
    position: relative;
    line-height: 1.6;
}

.selling-item:before {
    content: "✔";
    margin-right: 12px;
    color: #2e7d32;
    font-weight: bold;
}
/* 修复：点击左侧分类后产品列表首格留白 */
.wcpf-products ul.products::before,
.wcpf-products ul.products::after {
  content: none !important;
  display: none !important;
}
