.products-container-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 40px;
  margin: 40px 0 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 15px;
}

.main-accordion:not(.collapsed)::after{
    background-image: url(./assets/images/filter-icon.svg) !important;
}
.main-accordion::after{
    background-image: url(./assets/images/filter-icon.svg);
    width: 24px !important;
    height: 24px !important;
    background-size: 24px !important;
}

.filters {
  padding: 20px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.filters-head{
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.accordion-cover{
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.accordion{
    --bs-accordion-border-width:0;
}

#accordionSubCategory .accordion-button{
    font-size: 18px;
}

.accordion-button{
    padding: 0;
}

.accordion-button:not(.collapsed){
    background: none;
    color: var(--main);
}

.accordion-button:focus{
    border: 0;
    box-shadow: none;
}

.accordion-button::after{
    width: 16px;
    height: 16px;
    --bs-accordion-btn-icon-width:16px;
}

.accordion-button .titleh5::after{
    font-weight: 700;
}

.accordion-button:not(.collapsed)::after{
    background-image: var(--bs-accordion-btn-icon);;
}

.checkbox-list{
    max-height: 310px;
    overflow-y: auto;
    height: auto;
}

.checkbox-list::-webkit-scrollbar{
    width: 8px;
    background-color: var(--main);
}

.checkbox-list::-webkit-scrollbar-thumb{
    background-color: var(--secondary);
    border-radius: 8px;
}

.checkbox-list label{
    user-select: none;
    cursor: pointer;
}

.checkbox-list input{
    position: relative;
}

.checkbox-list input::before{
    content:'';
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eee;
    transition: all .3s ease;
}

.checkbox-list input:checked::before{
    background-color: var(--icons);
    content: '\2713'; /* Unicode checkmark character */
    color: white; /* Color of the checkmark */
    text-align: center;
    line-height: 16px; /* Center the checkmark vertically */
    font-size: 12px; 
    font-weight: 600;
    animation: pulse .2s linear;
}

.price-filter input{
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    padding: 5px;
    transition: all .3s ease;
}

.price-filter input:focus{
    outline: none;
    border-color: var(--secondary);
}

.price-filter input[type="number"]::-webkit-inner-spin-button,
.price filter input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.color-filter{
    display: grid;
    grid-template-columns: repeat(auto-fit,37px);
    gap: 16px;
    padding-top: 20px;
}

.color-checkbox{
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: 0;
    appearance: unset;
    
}


.color-checkbox::before{
    content:'';
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.20);
    transition: all .3s ease;
}

.color-checkbox:checked::before{
    content: '\2713'; /* Unicode checkmark character */
    color: white; /* Color of the checkmark */
    font-size: 26px; 
    font-weight: 300;
    animation: pulse .2s linear;
}

.color-checkbox.white:checked::before{
    color: black;
}

@keyframes pulse {
    0% {
        
        font-size: 20px;
    }
    50% {
     
        font-size: 40px;
    }
    100% {
      
        font-size: 12px;
    }
}

@media (min-width:600px){
      .products-container-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
    .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 960px) {
  .products-container-grid {
    grid-template-columns: 1fr 3fr;
    column-gap: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters-cover {
    position: relative;
}

.filters{
    position: sticky;
   top: 180px;
}
}

@media (min-width:1200px) {
    .filters{
        padding: 20px 24px;
    }
      .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
