/**
 * Anysell Category Sidebar - Professional E-Commerce Style
 * Clean, industry-standard design for shop category navigation
 */

/* Basic list styling */
.anysell-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.anysell-category-list li {
  margin: 0;
  line-height: 1.4;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.anysell-category-list li:last-child {
  border-bottom: none;
}

.anysell-category-list a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 8px 4px;
  transition: background-color 0.2s;
}

.anysell-category-list a:hover {
  background-color: #f9f9f9;
}

/* Professional category markers */
.cat-marker {
  display: inline-block;
  width: 12px;
  height: 12px;
  position: relative;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Default marker styling - dash */
.cat-marker::before {
  content: '–';
  display: inline-block;
  color: #aaa;
  font-weight: normal;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-60%);
  font-size: 13px;
  line-height: 0;
}

/* Selected category marker - active indicator */
.cat-marker.current::before {
  content: '•';
  color: #23527c;
  font-size: 14px;
  font-weight: bold;
}

/* Parent category marker */
.cat-marker.parent::before {
  content: '•';
  color: #337ab7;
  font-size: 12px;
}

/* Child category marker */
.cat-marker.child::before {
  content: '–';
  color: #666;
}

/* Category name */
.cat-name {
  flex-grow: 1;
}

/* Current category highlighting */
.anysell-category-list .current-cat > a {
  color: #23527c;
  font-weight: 500;
  background-color: #f5f8fa;
}

.anysell-category-list .cat-parent > a {
  color: #337ab7;
}

/* Count badge styling - professional e-commerce look */
.anysell-category-list .count {
  background-color: #f0f0f0;
  color: #666;
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 10px;
  min-width: 15px;
  text-align: center;
  display: inline-block;
  margin-left: 5px;
}

.anysell-category-list .current-cat .count {
  background-color: #e7f0f7;
  color: #23527c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .anysell-category-list li a {
    padding: 10px 4px; /* Slightly larger touch target on mobile */
  }
}
