/**
* Theme Name: Freshio2 Child
* Description: This is a child theme of Freshio2, generated by Merlin WP.
* Author: <a href="https://pavothemes.com/">Pavothemes</a>
* Template: freshio2
* Version: 3.0.0
*/


/* 아코디언 전체 박스 */
.widget_product_categories .woocommerce-widget-layered-nav-list__item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fafafa;
    transition: box-shadow 0.2s ease;
}

.widget_product_categories .woocommerce-widget-layered-nav-list__item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* 부모 카테고리 */
.widget_product_categories .woocommerce-widget-layered-nav-list__item > a.parent-category {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    position: relative;
    background: #fafafa;
    transition: background 0.2s ease;
}

/* 화살표 */
.widget_product_categories .woocommerce-widget-layered-nav-list__item.has-subcategories > a.parent-category::after {
    content: "▾";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    opacity: 0.6;
    transition: transform 0.25s ease;
}

/* 열렸을 때 */
.widget_product_categories .woocommerce-widget-layered-nav-list__item.open > a.parent-category {
    background: #fff;
}

.widget_product_categories .woocommerce-widget-layered-nav-list__item.open > a.parent-category::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

/* 서브 카테고리 */
.widget_product_categories .sub-categories {
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid #eee;
}

.widget_product_categories .sub-categories li a {
    display: block;
    padding: 6px 0;
    color: #555;
    font-size: 14px;
}

.widget_product_categories .sub-categories li a:hover {
    color: #000;
}