#user-main-section {
  margin-top: 24px;
}
#user-main-section .inner {
  box-sizing: border-box;
}

.slide-item-line {
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 0px 5%;
  overflow-x: hidden;
  padding-bottom: 6px;
  transition: all 0.2s ease-in-out;
  height: 100%;
  max-height: calc((100% - 32px) / 5);
  display: flex;
  flex-wrap: wrap;
}
.slide-item-line::-webkit-scrollbar {
  height: 6px;
}
.slide-item-line::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 99px;
}

/* 펼침 상태: 여러 줄 표시, 가로 스크롤 제거 */
.slide-item-line.expanded {
  max-height: 1000px;
}

/* 토글 버튼 */
.cat-toggle {
  width: calc((100% - 32px) / 10);
  gap: 8px;
  background-color: var(--container);
  color: var(--white);
  border: none;
  outline: none;
  box-sizing: border-box;
  font-size: 12px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  font-weight: 600;
  cursor: pointer;
}
.cat-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.cat-toggle path {
}
.cat-toggle svg {
  transform: rotate(270deg);
  width: 24px;
  height: 24px;
}
.cat-toggle.expanded svg {
  transform: rotate(90deg);
}

.slide-item-line::-webkit-scrollbar {
  display: none;
}

.slide-item {
  display: flex;
  font-size: 12px;
  width: calc((100% - 32px) / 5);
  justify-content: center;
  align-items: center;
  gap: 8px;
  aspect-ratio: 1/1;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
  background-color: var(--container);
  color: var(--white);
}
.slide-item svg {
  width: 18px;
  height: 18px;
  display: block;
  margin: auto;
  margin-bottom: 5px;
}

.slide-item.active {
  background-color: var(--point);
  color: var(--white);
}

/*benner area*/

.benner-slide-area {
  width: 100%;
  overflow: scroll;
  height: fit-content;
  position: relative;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  margin-bottom: 24px;
}

.benner-slide-area::-webkit-scrollbar {
  display: none;
}

.benner-item {
  display: inline-block;
  scroll-snap-align: center;
}

.benner-img {
  border-radius: 10px;
  width: 100%;
}

@keyframes slideAnimation {
}
/* 접힘 상태: 활성 항목만 보이게 */
.slide-item-line:not(.expanded) .slide-item {
  display: none;
}

/* 접힘 상태: active만 노출 */
.slide-item-line:not(.expanded) .slide-item.active {
  display: flex;
}

/* 펼침 상태: 전체 노출 (기존과 동일) */
.slide-item-line.expanded .slide-item {
  display: flex;
}

.expanded .cat-toggle {
}
