/* ========== MOBILE FILTER UX ========== */

.az-filter-toggle,.az-filter-close {display:none;}

@media (max-width: 480px) {

  .az-filter-wrap {
    display: block;
  }

  /* RESULTS FULL WIDTH */
  .az-filter-results {
    width: 100%;
  }

  /* FILTER BUTTON */
  .az-filter-toggle {
    display: block;
    width:120px;
    height:45px;
    padding: 12px;
    background: #fff;
    border:2px solid #000!important;
    border-color:blue red orange green!important;
    border-radius:10px;
    color: #000;
    border: none;
    font-size: 16px;
    margin-top:10px;
  }
  
  


  /* SIDEBAR → SLIDE PANEL */
  .az-filter-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    padding: 15px;
    transition: right 0.3s ease;
  }

  .az-filter-sidebar.active {
    right: 0;
  }

  /* CLOSE BUTTON */
  .az-filter-close {
    display: block;
    text-align: right;
    font-size: 18px;
    margin-bottom: 10px;
    cursor: pointer;
  }

}


.az-filter-list {
  max-height:150px;
  overflow-y: auto;
  border: 1px solid #eee;
  padding: 8px;
  margin-bottom: 15px;
}

.az-filter-item {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.az-filter-search {
  width: 100%;
  padding: 6px 8px;
  margin-bottom: 8px;
  font-size: 14px;
}


.az-result-count {
  display:inline-block;
  font-style:italic;
  text-transform:capitalize;
  background:#f2f2f2;
  padding:5px 10px;
  border-radius:5px;
  font-weight:800;
  margin-bottom: 12px;
}


.az-filter-wrap {
  display: flex;
  gap: 20px;
}

/* SIDEBAR */
.az-filter-sidebar {
  width: 250px;
  border-right: 1px solid #eee;
  padding-right: 10px;
}

.az-filter-sidebar h4 {
  font-family:rubik;
  margin-top: 20px;
  font-size: 15px;
  font-weight:700;
  color:#dd0000;
}

.az-ram-wrap label {
  display: block;
  margin-bottom: 6px;
}



/* FORCE CHECKBOX VISIBILITY */
.az-filter-sidebar input[type="checkbox"] {
  display: inline-block !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  opacity: 1 !important;
  position: static !important;
  margin-right: 8px;
  cursor: pointer;
}

.az-filter-sidebar label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
}

/* RESULTS */
.az-filter-results {
  flex: 1;
}

.az-item {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.az-item a {
color:#dd0000;
font-weight:600;  
}


/* ===============================
   CATEGORY SCROLL FIX
================================ */

/* Wrap category filters */
.az-category-wrap {
  max-height:150px;        /* adjust height */
  overflow-y: auto;
  padding-right: 6px;
  border: 1px solid #eee;
  margin-top: 10px;
}

/* Optional scrollbar styling (modern browsers) */
.az-category-wrap::-webkit-scrollbar {
  width: 6px;
}

.az-category-wrap::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.az-category-wrap::-webkit-scrollbar-track {
  background: #f7f7f7;
}


.az-category-search {
  width: 100%;
  padding: 6px 8px;
  margin-bottom: 8px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
