
.wc-category-tree {
    font-size: 16px;
    line-height: 1.6;
}

.wc-category-tree ul.product-categories {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.wc-category-tree li.cat-item {
    margin: 10px 0;
}

.wc-category-tree .category-item {
    position: relative;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

.wc-category-tree a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.wc-category-tree a:hover {
    color: #ff6600;
}

.wc-category-tree .toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #f2f2f2;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 5px;
    text-align: center;
    line-height: 16px;
    color: #555;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    aspect-ratio: 1;
}

.wc-category-tree .toggle.open {
    /* background-color: #ff6600; */
    color: #fff;
}

.wc-category-tree ul.children {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0 20px;
    display: none;
}

.wc-category-tree ul.children li.cat-item {
    margin: 5px 0;
}

.wc-category-tree ul.children li.cat-item:last-child {
    margin-bottom: 0;
}

.wc-category-tree .toggle:before {
    content: '+';
    font-size: 14px;
    font-weight: bold;
}

.wc-category-tree .toggle.open:before {
    content: '-';
}

.wc-category-tree .category-icon {
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.tags-container .tag-icon {
    width: 25px;
    height: auto;
}

.tags-container .single-tag label, .tags-container .single-tag {
    display: flex;
    align-items: center;
    margin-left: 2px;
}

.wc-category-tree .icon-name-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Raspon cijena */
.price-range {
    margin-bottom: 30px;
}
.price-range header h2{
  font-size: 24px;
  font-weight: 600;
}
.price-range header p {
  margin-top: 5px;
  font-size: 16px;
}
.price-range .price-input{
  width: 100%;
  display: flex;
  margin: 10px 0 35px;
}
.price-range .price-input .field{
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
}
.price-range .field input{
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 16px;
  margin-left: 3px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #dbdbdb;
  -moz-appearance: textfield;
}
.price-range input[type="number"]::-webkit-outer-spin-button,
.price-range input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.price-range .price-input .separator{
  width: 55px;
  display: flex;
  font-size: 19px;
  align-items: center;
  justify-content: center;
}
.price-range .price-range-slider{
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}
.price-range .price-range-slider .price-range-progress{
  height: 100%;
  left: 0;
  right: 0;
  position: absolute;
  border-radius: 5px;
}
.price-range .range-input{
  position: relative;
}
.price-range .range-input input{
  position: absolute;
  width: 100%;
  height: 5px;
  top: -7px;
  left:-2px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.price-range input[type="range"]::-webkit-slider-thumb{
  height: 17px;
  width: 17px;
  border-radius: 50%;
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}
.price-range input[type="range"]::-moz-range-thumb{
  height: 17px;
  width: 17px;
  border: none;
  border-radius: 50%;
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

.price-range .button {
    width: 100%;
    margin-top: 30px;
    font-size: 14px;
}

.disabled-filter {
    opacity: 0.4; 
    pointer-events: none; 
}

.checkbox-skeletons {
    display: flex;
    flex-wrap: wrap;
    flex-direction:column;
}

.checkbox-skeleton.lg {
    width: 150px;
    height: 20px;
    background-color: #f0f0f0; 
    margin: 5px; 
    border-radius: 5px; 
}

.checkbox-skeleton.md {
    width: 100px; 
    height: 20px;
    background-color: #f0f0f0;
    margin: 5px;
    border-radius: 5px;
}

.checkbox-skeleton.sm {
    width: 20px; 
    height: 20px;
    background-color: #f0f0f0;
    margin: 5px;
    border-radius: 5px;
}

/* Animation effect */
@keyframes skeleton-pulse {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.5;
    }
}

.checkbox-skeleton {
    animation: skeleton-pulse 1s ease-in-out infinite;
}

.hidden-filter {
    display:none;
}

.filter-count {
    color: #999;
}

.attr-filter {
    text-transform: capitalize;
}

.attr-filter legend {
    font-weight: bold;
}

.swa-filters-container h4 {
    font-size:20px!important;
    margin-bottom:5px!important;
}
