  .custom-color-kitchen body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    font-family: sans-serif;
}
  .outer-container {
    display: flex;
    width: 950px;
    height: 100vh;
}
  .main-container, .colorbox-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: 20px;
}
  #main-wrapper, #colorbox-wrapper {
    width: 100%;
    height: auto;
}
  #main-image-wrapper {
    width: 95.3%;
    max-width: 800px;
    position: relative;
}
  #main-image-wrapper img {
    width: 100%;
    height: auto;
    background-color: #fff;
}
  .thumbs {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}
  .thumbs img {
    width: 22%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}
  .controls-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  .colorboxcontainer {
    width: 100%;
    display: flex;
    align-items: center;
}
  #search-input {
    margin-left: 20px;
    margin-right: 20px;
    padding: 5px 10px;
    width: 200px;
    font-size: 1rem;
    border: solid 1px #eee;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.1);
}
  #search-input:focus {
    border-color: #0096ff;
}
  .mode-toggle {
    margin-right: 20px;
}
  .collection-display {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 8px 0 20px;
    list-style: none;
    font-size: 0.6rem;
    max-height: 293px;
    overflow-y: auto;
    margin-top: 8px;
}
  .collection-display li.farg {
    width: 90px;
    height: 100px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
  .collection-display li.farg:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
  .collection-display li.farg.active {
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transform: scale(1.05);
}
  .collection-display li.farg span {
    width: 20%;
    height: 100%;
    display: block;
    margin-bottom: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .outer-container {
    flex-direction: column;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  .main-container {
    width: auto;
    min-height: auto;
    margin: 0 20px 0px 20px;
  } 
    .thumbs {
    flex-wrap: wrap;
    gap: 10px;
  }
  .colorbox-container {
    width: 100%;
    min-height: auto;
  }
}