/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Базовый список — не трогаем */
.wc-block-product-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Пункты */
.wc-block-product-categories-list-item {
    position: relative;
    padding: 8px 0;
}

/* Ссылки */
.wc-block-product-categories-list-item > a {
    display: block;
    padding: 8px 40px 8px 0;
    text-decoration: none;
}

/* Активная категория */
.wc-block-product-categories-list-item.is-active > a span {
    font-weight: 600;
}

/* Подменю (только вложенные уровни) */
.wc-block-product-categories-list--depth-1,
.wc-block-product-categories-list--depth-2,
.wc-block-product-categories-list--depth-3 {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}

/* Открытое подменю */
.wc-block-product-categories-list--depth-1.open,
.wc-block-product-categories-list--depth-2.open,
.wc-block-product-categories-list--depth-3.open {
    /* height ставим через JS = auto или конкретное значение */
}

/* Стрелка справа */
.category-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
	    background: #79b83321;
    border-radius: 50%;
    color: #fff;
}

.category-toggle svg {
    width: 14px;
    height: 14px;
}

.category-toggle.open {
    transform: rotate(180deg);
	background: #79b833;
}
.category-toggle:hover {
	background: #79b833;
}
.wc-block-product-categories-list-item > a{
	    font-size: 16px;
    color: #000;
    font-weight: 600;
}
.wc-block-product-categories-list-item {
	margin-bottom: 0;
    padding: 0;
}

.wc-block-product-categories-list--depth-1.open, 
.wc-block-product-categories-list--depth-2.open, 
.wc-block-product-categories-list--depth-3.open{
	    padding-left: 20px;
}
.wc-block-product-categories-list-item > a {
    padding-top: 4px;
    padding-bottom: 4px;
}
.wc-block-product-categories-list-item.is-active > a{
	color: #79b833;
}
.price{
	display: none!important;
}
