.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filter-header p{
    margin: 0;
    font-size: 16px ;
    font-weight: 700;
    font-family: "Archivo ",sans-serif;

}
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;

}
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filter-header .arrow-up svg{
    height: 20px;
    width: 20px;
    transition: transform 0.3s ease;


}

.aside-filter-widget .aside-filter-wrapper{
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 30px #EEEEEE;
    display: flex;
    flex-direction: column;
    gap: 24px;


}
.aside-filter-widget{
    margin-right: 30px;
    width: 100%;
}
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.aside-filter-widget .aside-filter-wrapper .apply-filters{
    background-color: #000;
    border-radius: 8px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 18px;
}
.aside-filter-widget .aside-filter-wrapper .reset-filters{
    background-color: transparent;
    border-radius: 8px;
    color: #414651;
    border: 1px solid #D5D7DA;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 18px;   
}
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filters-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filters-list .filter-item label{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-family: "Archivo", sans-serif;
    line-height: 150%;
    color: #000;
    transition: color 0.3s ease, text-decoration 0.3s ease;

}
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filters-list .filter-item span{
    width: 200px;
}

.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filters-list .filter-item input[type="checkbox"] {
    accent-color: black;
    width: 24px;
    height: 24px;
}
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filters-list .filter-item .filter-link:hover{
    color: #d50032;
    text-decoration: underline;
}


.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filters-list.visible {
    max-height: 500px; /* Arbitrary large max-height */
    opacity: 1;
}

/* Optional: arrow rotation on open */
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filter-header.open .arrow-up svg {
    transform: rotate(180deg);
}
.aside-filter-widget .aside-filter-wrapper .filters-list-wrapper .filter-header.open .arrow-up  {
    display: flex;
}
/* Button styling visible only on tablet and below */
.filter-toggle-button {
  display: none;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  background-color: #000;
  color: #fff;
  border-radius: 8px;
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
}
.close-filter-button{
    display: none;
}
.elementor-widget-aside-filter-widget{
    width: 320px;
  }
.elementor-widget-aside-filter-widget .elementor-widget-container{
  width: 100%;
}
@media (max-width: 1024px) {
  .filter-toggle-button {
    display: block;
  }

  .aside-filter-widget {
    display: none;
    width: 100%;
    position: fixed;
    z-index: 100;
    height: 80%;
    bottom: 0;
    background: white;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;


  }
  

  .aside-filter-widget.show-filters {
    display: block;

  }
  .close-filter-button{
    display: block;
    width: 100%;
    background-color: transparent;
    border :0px !important;
    text-align: end ;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 20px;
  }
  .aside-filter-wrapper {
    display: none;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;    
  }

  .aside-filter-widget.show-filters .aside-filter-wrapper {
    display: flex;

  }
  body.filter-open{
    overflow: hidden;
  }
  .filter-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #000000CC;
  }
}
