.home-product-sec .elementor-widget-woocommerce-products a.button.product_type_simple,
.product-page-sec .elementor-widget-woocommerce-products a.button.product_type_simple {
    display: none;
}

.home-product-sec .elementor-widget-woocommerce-products span.ast-woo-product-category,
.product-page-sec .elementor-widget-woocommerce-products span.ast-woo-product-category{
    display: none !important;
}
.wall-form-wr .col-12 p {
    display: flex;
    gap: 10px;
}
.wall-form-wr .col-12 {
    padding: 0 !important;
}
.astra-shop-thumbnail-wrap:hover .ast-on-card-button:not(.ast-onsale-card) {
    display: none;
}
/* ================================
   Product Category Sidebar
================================ */

.product-sidebar {
    background: #fff;
    font-size: 20px;
    padding-bottom: 10px;
}

/* Reset list */
.product-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* -------------------------------
   一行结构：左文字 + 右按钮
-------------------------------- */
.cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* 分类文字 */
.cat-link {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
}

.cat-link:hover {
    color: #18a84a;
}

/* ================================
   ✅ 关键修复：只高亮当前这一行
   （不影响子分类）
================================ */
.cat-item.active > .cat-row {
    background: #f5f5f5;
}

/* -------------------------------
   右侧折叠按钮
-------------------------------- */
.cat-toggle {
    width: 32px;
    height: 32px;
    margin-left: 12px;
    background: #f2f2f2;
    border-radius: 3px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.cat-toggle::before {
    content: "˄";
    position: absolute;
    inset: 0;
    text-align: center;
    line-height: 32px;
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

.cat-toggle:hover {
    background: #18a84a;
}

.cat-toggle:hover::before {
    color: #fff;
}

/* -------------------------------
   子分类区域
-------------------------------- */
.cat-children {
    display: block;
    padding-left: 16px;
}

/* 折叠状态 */
.cat-item.closed > .cat-children {
    display: none;
}

.cat-item.closed .cat-toggle::before {
    content: "˅";
}
.elementor-widget-wc-archive-products ul.products a.ast-on-card-button.ast-select-options-trigger.product_type_simple,
.elementor-widget-wc-archive-products ul.products span.ast-woo-product-category,
.elementor-widget-wc-archive-products ul.products a.button.product_type_simple{
    display: none !important;
}
.elementor-widget-shortcode .product-sidebar ul {
    padding-left: 0;
    margin: 0;
}
.elementor-widget-shortcode .product-sidebar ul li a{
    text-decoration: none;
}
.elementor-widget-shortcode .product-sidebar ul a {
    font-size: 14px;
}
.elementor-widget-shortcode .product-sidebar ul .cat-row a {
    font-weight: 700;
}
.elementor-widget-shortcode .product-sidebar ul .cat-children a {
    font-weight: 500;
}
@media (max-width: 767px) {
.elementor-widget-woocommerce-product-content table td {
    padding: 5px;
}
}

