/* Minimal Shop Filters */

/* Widget Container */
.woodmart-woocommerce-layered-nav,
.widget_layered_nav,
.widget_price_filter,
.widget_product_categories {
    margin-bottom: 30px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Widget Title */
.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #333;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    /* RTL: right: 0 */
    width: 30px;
    height: 2px;
    background-color: #000;
    /* Accent color */
}

/* List Items */
.widget_layered_nav ul,
.widget_product_categories ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.widget_layered_nav ul li,
.widget_product_categories ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.widget_layered_nav ul li:last-child,
.widget_product_categories ul li:last-child {
    border-bottom: none;
}

.widget_layered_nav ul li a,
.widget_product_categories ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    flex-grow: 1;
}

.widget_layered_nav ul li:hover a,
.widget_product_categories ul li:hover a {
    color: #000;
    padding-right: 5px;
    /* RTL: padding-left */
}

/* Count */
.count {
    font-size: 12px;
    color: #999;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Checkbox Style (Optional - if theme uses inputs) */
.widget_layered_nav ul li input[type="checkbox"] {
    margin-left: 10px;
    /* RTL */
}

/* Active Filters */
.widget_layered_nav ul li.chosen a,
.widget_product_categories ul li.current-cat>a {
    color: #000;
    font-weight: bold;
}

/* Price Filter */
.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #eee;
    height: 4px;
    border-radius: 2px;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background-color: #000;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #fff;
    border: 2px solid #000;
    width: 14px;
    height: 14px;
    top: -5px;
    border-radius: 50%;
}

.widget_price_filter .price_slider_amount {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
}

.widget_price_filter .price_slider_amount .button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s;
}

.widget_price_filter .price_slider_amount .button:hover {
    background-color: #333;
}

/* RTL Adjustments */
body.rtl .widget-title::after {
    left: auto;
    right: 0;
}

body.rtl .widget_layered_nav ul li:hover a,
body.rtl .widget_product_categories ul li:hover a {
    padding-right: 0;
    padding-left: 5px;
}