/* Category Sidebar Navigation */
.sidebar-split-layout {
  display: flex;
  gap: 0;
  height: 100%;
  width: 100%;
}

.items-content-column {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 16px;
}

#categories-nav {
  width: 72px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, calc((100vh - 500px) / 8), 12px);
  border-left: var(--border-theme);
  border-right: var(--border-theme);
  padding: clamp(10px, 2vh, 16px) 8px;
  background: linear-gradient(to top, #ff6599, #ffcadc);
  height: 100%;
  overflow-y: hidden;
  scrollbar-width: none;
}

#categories-nav::-webkit-scrollbar {
  display: none;
}

.category-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.category-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item-label {
  font-family: var(--font-ui);
  font-size: clamp(7.5px, 1.4vh, 9px);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 68px;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(-4px);
  max-height: 0;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  margin-top: 0;
}

.category-item-wrapper.active .category-item-label {
  opacity: 1;
  transform: translateY(0);
  max-height: clamp(12px, 3vh, 24px);
  margin-top: 4px;
}

.category-item-wrapper[data-id="accessories"] .category-item-label {
  font-size: clamp(7px, 1.3vh, 7.9px) !important;
}

.category-item {
  background: #ffffff;
  border: 2px solid #ffccd5;
  color: var(--accent-pink);
  width: clamp(32px, calc((100vh - 72px) / 9.4), 56px);
  height: clamp(32px, calc((100vh - 72px) / 9.4), 56px);
  border-radius: clamp(10px, 2.5vh, 18px); /* Squircle shape */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0px 4px 0px #ffccd5, 0px 6px 10px rgba(191, 132, 142, 0.15);
  transform: translateY(0);
}

.category-item:hover {
  border-color: #ffb3c6;
  box-shadow: 0px 6px 0px #ffb3c6, 0px 8px 15px rgba(191, 132, 142, 0.25);
  transform: translateY(-2px);
}

.category-item:active {
  transform: translateY(-1px) scale(0.96);
  box-shadow: 0px 3px 0px #ffccd5, 0px 4px 8px rgba(191, 132, 142, 0.15);
}

.category-item.active {
  background: #ffffff !important;
  border: 2px solid var(--accent-pink) !important;
  color: var(--accent-pink) !important;
  box-shadow: 0px 4px 0px var(--accent-pink), 0px 10px 20px rgba(255, 107, 157, 0.35) !important;
  transform: translateY(-4px) scale(1.05);
}

.category-icon {
  font-size: 20px;
  transition: var(--transition-smooth);
}

.category-item.active .category-icon {
  transform: scale(1.15);
}

.category-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-item:hover .category-icon-img {
  transform: scale(1.1);
}

.category-item.active .category-icon-img {
  transform: scale(1.15);
}


