/* v3.4.0 - only the existing left category dropdown */
#leftCategoryMenu{position:relative}
#leftCategoryMenu .cat-menu-btn{display:flex;align-items:center;gap:10px}
#leftCategoryMenu .cat-menu-caret{font-size:12px;transition:transform .18s ease}
#leftCategoryMenu.is-open .cat-menu-caret{transform:rotate(180deg)}

/* Override old hover behavior safely: menu opens only by click */
#leftCategoryMenu:hover .cat-dropdown{display:none}
#leftCategoryMenu.is-open .cat-dropdown{display:block}

#leftCategoryMenu .cat-dropdown{
  width:320px;
  padding:7px 0;
  border-radius:0 0 10px 10px;
  overflow:hidden;
}

#leftCategoryMenu .cat-drop-row{
  padding:0;
  border-bottom:1px solid #ededed;
}
#leftCategoryMenu .cat-drop-row:last-child{border-bottom:0}

#leftCategoryMenu .cat-drop-head{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:0 10px 0 14px;
}
#leftCategoryMenu .cat-drop-head>a{
  flex:1;
  display:flex;
  align-items:center;
  min-height:46px;
  font-size:14px;
}
#leftCategoryMenu .cat-drop-head>a:hover{padding-left:4px}

#leftCategoryMenu .cat-accordion-toggle{
  width:32px;
  height:32px;
  flex:0 0 32px;
  border:1px solid #e2e2e2;
  border-radius:6px;
  background:#f7f7f7;
  color:#222;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
#leftCategoryMenu .cat-accordion-toggle:hover{background:#ededed}

#leftCategoryMenu .cat-sub{
  display:none;
  margin:0;
  padding:7px 12px 11px 22px;
  background:#f7f7f7;
  border-top:1px solid #eeeeee;
  flex-direction:column;
  flex-wrap:nowrap;
  gap:0;
}
#leftCategoryMenu .cat-drop-row.is-open>.cat-sub{display:flex}
#leftCategoryMenu .cat-sub a{
  display:block;
  padding:8px 7px;
  color:#555;
  font-size:13px;
  border-bottom:1px solid #e9e9e9;
}
#leftCategoryMenu .cat-sub a:last-child{border-bottom:0}
#leftCategoryMenu .cat-sub a:hover{color:#111;padding-left:11px}

@media(max-width:760px){
  #leftCategoryMenu .cat-dropdown{
    position:fixed;
    top:auto;
    left:10px;
    right:10px;
    width:auto;
    max-height:70vh;
    overflow-y:auto;
    border-radius:10px;
  }
}
