@media (max-width: 768px) {
  .pickandmix-left-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 1600px) {
  .pickandmix-left-sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .pick-and-mix-search-bar {
    background-color: white;
    border-radius: 5px;
    width: 20vw;
  }

  .categories-dropdown {
    background-color: rgb(234, 85, 157);
    padding: 5px;
    border-radius: 4px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    width: 20vw;
  }

  .categories-dropdown h3 {
    font-size: clamp(0.6rem, calc(0.25vw + 0.7rem), 1rem);
    color: white;
    margin: auto;
  }

  .categories-dropdown .categories-checkboxes {
    display: none;
  }

  .categories-dropdown:hover .categories-checkboxes {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    gap: 1rem;
    padding: 10px;
    border: solid 1px black;
    border-radius: 3px;
    width: 100%;
    z-index: 99;
  }

  .category-checkbox-label {
    display: flex;
    gap: 0.4rem;
  }

  .category-checkbox-label input[type="checkbox"] {
    cursor: pointer;
    aspect-ratio: 1 / 1;
    width: clamp(1rem, calc(0.3vw + 0.5rem), 3rem);
    accent-color: var(--ast-global-color-1, #E91E63);
  }
}

@media (min-width: 1600px) {
  .pickandmix-left-sidebar {
    position: fixed;
    top: 100px;
    left: 0;
    width: clamp(200px, 18vw, 400px);
    min-height: calc(100vh - 100px);
    background-color: rgb(252, 238, 245);
    padding: 20px;
    z-index: 99;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  }

  .pick-and-mix-search-bar {
    width: 100%;
    padding: 10px;
    font-size: clamp(0.7rem, calc(0.4vw + 0.5rem), 2.5rem);
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff !important;
  }

  .pickandmix-categories-filter {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #ddd;
  }

  .pickandmix-categories-filter h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: clamp(0.8rem, calc(0.5vw + 0.5rem), 3.5rem);
    color: #333;
    font-weight: 600;
  }

  .categories-list {
    display: flex;
    flex-direction: column;
  }

  .categories-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .category-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 0.4rem;
    padding: clamp(0.1rem, calc(0.05vw + 0.2rem), 1rem);
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
  }

  .category-checkbox-label:hover {
    background-color: rgba(0, 0, 0, 0.08);
  }

  .category-checkbox-label input[type="checkbox"] {
    cursor: pointer;
    aspect-ratio: 1 / 1;
    width: clamp(1rem, calc(0.3vw + 0.5rem), 3rem);
    accent-color: var(--ast-global-color-1, #E91E63);
  }

  .category-checkbox-label span {
    font-size: clamp(0.8rem, calc(0.3vw + 0.5rem), 3.5rem) !important;
    color: #333;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .pick-and-mix-search-bar,
  .pickandmix-categories-filter {
    width: 45%;
  }
  
  .categories-dropdown {
    width: 100%;
  }
}