/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Feb 19 2026 | 09:59:32 */
/* 1. Глобальный сброс стилей Elementor для этого виджета */
.e-filter {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-family: "Inter", Sans-serif;
}

.elementor-widget-taxonomy-filter .e-filter-item {
	
}

/* 2. Стилизация строки фильтра (Кнопка-невидимка) */
.e-filter-item {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
	max-width: 100% !important;
    text-align: left !important;
	text-transform: uppercase;
    cursor: pointer;
    font-size: 18px; /* Настрой под дизайн */
    color: #333;
    transition: color 0.2s ease;
    box-shadow: none !important;
}

.e-filter-item:hover {
    color: #000;
}

/* 3. Кастомный Чекбокс */
.e-filter-item::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 1px solid #b2b2b2; /* Тонкая серая рамка */
    margin-right: 12px;
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

/* Состояние "Выбрано" */
.e-filter-item[aria-pressed="true"]::before {
    background-color: #000;
    border-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}

/* 4. Контейнер подкатегорий (Иерархия) */
.sub-wrapper {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-left: 28px; /* Отступ для вложенности */
    margin-top: 5px;
    width: 100%;
}

.sub-wrapper .e-filter-item {
	text-transform: capitalize !important;
}


/* 5. SVG Иконка раскрытия (Шеврон) */
.parent-toggle {
    margin-left: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.parent-toggle svg {
    width: 24px;
    height: 24px;
    stroke: #1e1e1e;
    stroke-width: 1px;
}

.parent-toggle.active {
    transform: rotate(180deg);
}


/*-----------------*/


/* 1. Настройка всей панели */
#FilterPanel {
    position: fixed !important;
    top: 0;
    left: -420px; /* Скрыта */
    width: 410px;
    height: 100vh;
    background-color: #ffffff !important;
    z-index: 10001;
    
    /* Флекс-бокс, чтобы разделить заголовок, список и кнопки */
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important; /* Сама панель больше не скроллится */
    
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 15px 0 50px rgba(0,0,0,0.1);
}

#FilterPanel.panel-open {
    left: 0 !important;
}

/* 2. Настройка списка фильтров (центр панели) */
.e-filter {
    flex: 1 !important; /* Занимает всё свободное место */
    overflow-y: auto !important; /* Скроллится ТОЛЬКО этот блок */
    padding: 20px 0px 0px 0px !important; /* Отступ снизу под кнопки */
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* 3. ФИКСИРОВАННЫЙ ПОДВАЛ С КНОПКАМИ (внизу панели) */
.filter-footer-btns {
    display: flex !important;
    gap: 12px;
    position: absolute !important; /* Привязываем к низу #FilterPanel */
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff; /* Плотный фон, чтобы текст под кнопками не просвечивал */
    padding: 20px 30px 30px 30px !important;
    border-top: 1px solid #eee; /* Тонкая разделительная линия */
    box-sizing: border-box;
    z-index: 10;
}

/* Кнопки */
.custom-apply-btn {
    background-color: #1e1e1e !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 20px !important;
	border-radius: 0px;
    flex: 1;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.3px !important;
    cursor: pointer;
    font-family: "Inter", Sans-serif;
}

.custom-reset-btn {
	border-radius: 0px;
    background-color: #fff !important;
    color: #1e1e1e !important;
    border: 1px solid #1e1e1e !important;
    padding: 14px 20px !important;
    flex: 1;
    font-size: 16px !important;
    text-transform: uppercase !important;
	font-family: "Inter", Sans-serif;
    cursor: pointer;
}

/* Блокировка основного сайта */
body.panel-is-open {
    overflow: hidden !important;
}
