/* ===========================================
   WooCommerce Category Menu - Desktop Only
   =========================================== */

/* Menu Wrapper */
.wcm-menu-wrapper {
    position: relative;
    width: 100%;
    background: white;
}

/* Menu Content */
.wcm-menu-content {
    padding: 20px;
}

.wcm-menu-title {
    font-family: 'Noto Sans Cham', sans-serif;
    font-size: 25px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #8800ff;
}

/* Category List */
.wcm-category-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wcm-category-item {
    position: relative;
    border-bottom: 1px solid #8800ff;
    list-style: none !important;
}

.wcm-category-item:last-child {
    border-bottom: none;
}

/* Category Link */
.wcm-category-link {
    display: block;
    padding: 12px 35px 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Cham', sans-serif;
    font-size: 15px;
}

.wcm-category-link:hover {
    color: #8800ff;
    background: rgba(136, 0, 255, 0.05);
}

/* Active State */
.wcm-category-item.wcm-active > .wcm-category-link {
    background: rgba(136, 0, 255, 0.08);
    color: #8800ff;
    font-weight: 500;
}

/* Toggle Arrow */
.wcm-toggle {
    position: absolute;
    right: 10px;
    top: 12px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    z-index: 2;
    pointer-events: auto;
}

.wcm-has-children > .wcm-category-link {
    padding-right: 35px;
}

.wcm-category-item.wcm-open > .wcm-toggle {
    transform: rotate(180deg);
}

/* Submenu */
.wcm-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wcm-category-item.wcm-open > .wcm-submenu {
    max-height: 2000px;
}

.wcm-submenu .wcm-category-list {
    padding-left: 20px !important;
}

.wcm-submenu .wcm-category-item {
    border-bottom: 1px solid rgba(136, 0, 255, 0.2);
    list-style: none !important;
}

.wcm-submenu .wcm-category-link {
    padding: 10px 35px 10px 15px;
    font-size: 14px;
}

/* Scrollbar Styling */
.wcm-menu-wrapper::-webkit-scrollbar {
    width: 6px;
}

.wcm-menu-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.wcm-menu-wrapper::-webkit-scrollbar-thumb {
    background: #8800ff;
    border-radius: 3px;
}

.wcm-menu-wrapper::-webkit-scrollbar-thumb:hover {
    background: #6600cc;
}