/* Canvas style for small screen */
#sidebar-static{
  display: none;
  @media screen and (min-width:992px) {
    display: block;
  }
}
  #sidebarWrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999; /* 🔥 VERY IMPORTANT */
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
  }
  
  
  #sidebarWrapper.show {
    left: 0;
  }

  #closeSidebarCanvasBtn {
    background: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  
  /* Sidebar container shared by both versions */
  .sidebar-inner {
    padding: 20px;
  }
  
  .fm-accordion-container {
    max-width: 300px;
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  .fm-category {
    border-bottom: 1px solid #e0e0e0;
  }
  
  .fm-category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }
  
  /* Custom arrow using transform */
.fm-category-title::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -4px;
}

.fm-category.active .fm-category-title::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}
  
  .fm-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .fm-category.active .fm-category-content {
    max-height: 500px;
  }
  
  .fm-option-item {
    display: flex;
    align-items: center;
    padding: 8px 10px 8px 20px;
    font-size: 14px;
  }
  
  .fm-checkbox {
    margin-right: 10px;
  }
  
  .fm-new-arrival {
    font-weight: 400;
  }
  /* Button styles */
        .fm-button-container {
            padding: 20px 15px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .fm-submit-button {
            background-color: #3c2f2a;
            color: white;
            border: none;
            padding: 15px;
            border-radius: 50px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .fm-submit-button:hover {
            background-color: #4e3e38;
        }
        
        .fm-clear-button {
            background-color: transparent;
            color: #999;
            border: none;
            padding: 10px;
            font-size: 14px;
            cursor: pointer;
            text-align: center;
            text-decoration: underline;
        }
        
        .fm-clear-button:hover {
            color: #666;
        }


 /* Color swatch styles */
.color-options {
  padding: 10px 0;
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.color-option {
  position: relative;
  cursor: pointer;
}

.color-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.color-swatch {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.color-checkbox:checked + .color-swatch {
  box-shadow: 0 0 0 2px #3c2f2a;
}

.color-checkbox:focus + .color-swatch {
  box-shadow: 0 0 0 2px rgba(60, 47, 42, 0.5);
}