/*side menu*/
.side-menu {
    height: 100vh;
}

.menu-header {
    position: fixed;
    background-color: #fff;
    height: 202px;
    width: 100%;
    z-index: 100;
}

.side-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 13px 16px;
}

.sign-in a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-in img {
    width: 24px;
    height: 24px;
}

.sign-in span {
    font-size: 16px;
    font-weight: 400;
}

.side-close-btn {
    border: none;
    cursor: pointer;
    width: 16px;
    height: 16px;
    background: url(https://stylekorean-image.s3.ap-northeast-2.amazonaws.com/gl/data/icon/page-close-btn.webp) no-repeat center center;
    background-size: cover;
    border: 0;
}

.side-menu .horizontal-menu {
    padding-bottom: 10px;
}

.tab-panel {
    display: flex;
    height: calc(100% - 205px);
    padding-top: 205px;
}

.menu-tab-wrap {
    position: relative;
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
}

.menu-tab-btn {
    flex: 1;
    padding: 20px 0;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    position: relative;
}

.menu-tab-btn.is-active {
    color: #000;
}

/* 움직이는 하단 그라데이션 바 */
.menu-tab-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%; /* 버튼 하나당 width */
    height: 3px;
    background: linear-gradient(90deg, #FE06D2, #E9BBC1, #87B8FD);
    transition: left 0.3s ease;
}

.category-list-wrapper {
    width: 132px;
    height: 100%;
    background: rgba(225, 225, 225, 0.20);
    overflow-y: auto;
}

.category-list {
    margin-top: 8px;
}

.category-list .category-item-btn {
    height: 48px;
    width: 100%;
    padding-left: 18px;
    text-align: unset;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
}

.category-list .is-active {
    background: #fff;
    font-weight: 600;
    color: #000;
}

.sign-out-btn {
    width: 100%;
    height: 48px;
    padding-left: 18px;
    text-align: start;
    color: rgba(96, 96, 96, 0.60);
    font-family: Pretendard;
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: 16px;
    text-transform: uppercase;
    background: none;
    border: none;
    display: flex;
    align-items: center;
}

.sign-out-btn img {
    width: 15px;
    height: 15px;
}

/*side menu category*/
.accordion-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-menu li {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin: 5px 0;
}

.accordion-menu .on-click {
    border-bottom: 1px solid #111;
    color: #111;
}

.accordion-toggle {
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #999;
    background: none;
}

.submenu {
    display: none;
    padding: 10px 15px;
    color: #999;
    transition: max-height 0.3s ease;
}

.submenu li a {
    font-size: 14px;
    color: #999;
}

.submenu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 20px 0;
    cursor: pointer;
}

.submenu-icon {
    width: 6.36px;
    margin-left: 8px;
    display: inline-flex;
}

.submenu-icon img {
    width: 100%;
}

.detail {
    width: calc(100% - 167px);
    padding: 10px 15px 0 20px;
    overflow-y: auto;
}

.detail .submenu-list li {
    margin-bottom: 20px;
}

.detail .submenu-list a {
    font-size: 14px;
    font-weight: 400;
    margin: 3px 0;
}

/* side menu brand */
.brand-tab-panel {
    flex-flow: column nowrap;
}

.brand-header-search {
    position: relative;
    margin: 40px 26px 0 26px;
    border-bottom: 1px solid #000;
}

.brand-header-search .brand-search-input {
    background: none;
    border: none;
    width: 100%;
    font-size: 14px;
    height: 30px;
}

.brand-search-icon {
    position: absolute;
    right: 0;
    top: 5px;
}
