/*
Theme Name: GreenMart Child
Theme URI: https://demo.thembay.com/greenmart/
Author: Thembay
Description: This is a child theme for GreenMart
Version: 1.0
Author URI: https://thembay.com/
Template: greenmart
Text Domain: greenmart-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */
.tbay-element-custom-product-categories-tabs .heading-product-category-tabs ul>li {
    position: relative;
    float: none;
    display: inline-block;
}
.tbay-element-custom-product-categories-tabs .heading-product-category-tabs ul>li a {
    font-weight: 500;
    letter-spacing: .5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
    text-align: center;
}
.tbay-element-custom-product-categories-tabs .heading-product-category-tabs ul>li a {
    min-width: 107px;
}
.tbay-element-custom-product-categories-tabs .heading-product-category-tabs ul>li a.active, .tbay-element-custom-product-categories-tabs .heading-product-category-tabs ul>li a:hover, .tbay-element-custom-product-categories-tabs .heading-product-category-tabs ul>li a:focus {
    color: var(--tb-theme-color);
    border-color: var(--tb-theme-color);
}

.product-categories li.cat-parent > a {
    position: relative;
    display: block !important;
    padding-right: 20px;
}
/* Ensure the parent link area can hold the toggle */
.widget_product_categories .product-categories li.cat-parent {
    position: relative;
}

/* Style the + / − toggle symbol */
.widget_product_categories .product-categories li.cat-parent > a::after {
    font-family: "tb-icon";
    content: "\E06E";
    position: absolute;
    right: 0px; /* move outside the text area (adjust as needed) */
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;   /* bigger symbol */
    cursor: pointer;
    line-height: 1;
    color: #333; /* or #000 or your theme color */
}

/* When expanded, show minus */
.widget_product_categories .product-categories li.cat-parent.open > a::after {
    content: "\E06D";
}

/* Make sure children list stays visually nested */
.widget_product_categories .product-categories ul.children {
    margin-left: 20px;
}
.widget_product_categories .product-categories ul.children {
    display: none;
    margin-left: 15px;
}