.wrapper {
    background: #fff;
    padding: 12px 40px;
    display: flex;
    width: 100%;
    min-height: 84%;
    background-image: linear-gradient(0deg, rgba(244, 244, 249, .8) 50%, rgba(244, 244, 249, .05) 100%);
}

.wrapper .inner {
    width: 1190px;
    margin: 0 auto;
    padding: 12px 40px 120px;
    display: flex;
    flex-direction: column;
}

.page-title {
    color: #000;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Pretendard";
    font-size: var(--fs-24-size, 24px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--fs-24-line-height, 30px); /* 125% */
    letter-spacing: var(--fs-24-letter-spacing, -0.5px);
    margin-top: 36px;
    margin-bottom: 24px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.total-info {
    font-size: var(--fs-14); line-height: var(--lh-14); letter-spacing: var(--ls-14);
    padding-bottom: 16px; font-weight: 600;
}

.page-tip {
    font-size: var(--fs-14); line-height: var(--lh-14); letter-spacing: var(--ls-14);
    padding: 20px 24px; 
    background-color: rgb(243, 243, 245);
    margin-bottom: 34px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.page-tip .b {
    font-size: var(--fs-18); line-height: var(--lh-24); letter-spacing: var(--ls-18); font-weight: 600;
}
.page-tip .bb {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    cursor: pointer;
}
.page-tip .bb-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.page-tip .bb .bbb {
    font-size: var(--fs-15); line-height: var(--lh-15); letter-spacing: var(--ls-15); font-weight: 500;
}



.bb .bbb::after {
  content: "＋";
  position: absolute;
  right: 0;
  font-weight: normal;
}
.bb.active .bbb::after {
  content: "－";
}

.bb div:last-child {
  display: none;
  margin-top: 8px;
  color: #555;
  line-height: 1.5;
}

.bb.active div:last-child {
  display: flex;
}



.wrapper .inner section {
    display: flex;
    gap: 44px;
}

.wrapper .inner section .filter-wrap {
    width: fit-content;
}

.wrapper .inner section ul.filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 186px;
}

.wrapper .inner section ul.filter li {
    display: flex;
}


.wrapper .inner section ul.filter li.on {
    border-radius: 8px;
    background: #FFEB3B;
    font-weight: 600;
}
.wrapper .inner section ul.filter li a {
    width: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: var(--fs-14); line-height: var(--lh-14); letter-spacing: var(--ls-14);
    /* justify-content: center; */
}

.wrapper .inner section ul.filter li.on a {
    font-weight: 600;
}


.selected-filter-list > div {
    gap: 6px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    background: var(--Fills-Tertiary, rgba(120, 120, 128, 0.12));
    padding: 8px 8px 8px 12px;
    color: var(--Label-Secondary, var(--Label-Secondary, rgba(60, 60, 67, 0.60)));
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;

    /* Pretendard/fs-13/semibold */
    font-family: "Pretendard";
    font-size: var(--fs-13-size, 13px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--fs-13-line-height, 18px); /* 138.462% */
    letter-spacing: var(--fs-13-letter-spacing, 0.3px);
}

.selected-filter-list svg {
    width: 18px;
    height: 18px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.filter-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.list li {
    display: flex;
    flex-direction: column; 
    width: 100%;
    padding: 18px 12px;
    /* align-items: center;
    justify-content: space-between; */
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);

    color: #000;
    font-family: "pretendard";
    

    font-weight: 500;
    line-height: 20px;
    letter-spacing: .2px;

    font-size: var(--fs-15); line-height: var(--lh-15); letter-spacing: var(--ls-15);
}
.list li .phea {
    /* background: #000; */
    border-radius: 50%;
    padding: 2px;
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 2px;
    align-items: center;
    color: rgba(60, 60, 67, 0.80);
}

.list li .pb {
    background: #000;
    border-radius: 50%;
    padding: 4px;
}
.list li .pb > svg {width: 24px;}

.list li .a-1 {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.list li .a-2 {
    display: flex;
    font-size: var(--fs-12); line-height: var(--lh-12); letter-spacing: var(--ls-12);
    color: rgba(60, 60, 67, 0.60);
    align-items: center;
    gap: 8px;
}
.list li .a-3 {
    display: flex;
    font-size: var(--fs-14); line-height: var(--lh-14); letter-spacing: var(--ls-14);
    color: rgba(60, 60, 67, 0.60);
}

.filter-wrapper .bg {
    width: 100vw;
    height: 100%;
    background: #00000060;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
}

.filter-wrapper .inner {
    flex-direction: column;
    max-width: 288px;
    width: 100%;
    background: #fff;
    padding: 30px 16px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
}

.filter-wrapper .tool {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 24px;
    margin-bottom: 35px;
}

.filter-wrapper .tool button {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--Label-Primary, var(--Label-Primary, #000));
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;

    /* Pretendard/fs-13/medium */
    font-family: "Pretendard";
    font-size: var(--fs-13-size, 13px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--fs-13-line-height, 18px); /* 138.462% */
    letter-spacing: var(--fs-13-letter-spacing, 0.3px);
}

.filter-wrapper .filter-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-wrapper .filter-menu .sub-title {
    color: var(--Label-Secondary, var(--Label-Secondary, rgba(60, 60, 67, 0.60)));
    font-feature-settings: 'liga' off, 'clig' off;

    /* Pretendard/fs-14/medium */
    font-family: "Pretendard";
    font-size: var(--fs-14-size, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--fs-14-line-height, 19px); /* 135.714% */
    letter-spacing: var(--fs-14-letter-spacing, 0.2px);
}

.filter-wrapper .filter-menu .filter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-bottom: 20px;
}

.filter-wrapper .filter-menu .filter label {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
    color: var(--Label-Secondary, var(--Label-Secondary, rgba(60, 60, 67, 0.60)));
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;

    /* Pretendard/fs-13/medium */
    font-family: "Pretendard";
    font-size: var(--fs-13-size, 13px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--fs-13-line-height, 18px); /* 138.462% */
    letter-spacing: var(--fs-13-letter-spacing, 0.3px);
    border-radius: 8px;
    background: var(--Fills-Quaternary, rgba(120, 120, 128, 0.08));
    cursor: pointer;
}
.filter-wrapper .filter-menu .filter input:checked + label {
    background: var(--Brand-TM-500, #FFEB3B);
    color: #000;
}


.wrapper .inner section ul.list li a {
    display: inline-flex;;
}

@media screen and (max-width: 999px) {


    .wrapper .inner section ul.filter li a svg {
        width: 16px;
    }
    .wrapper .inner section ul.filter li a {
        font-size: var(--fs-13); line-height: var(--lh-13); letter-spacing: var(--ls-13);
        gap: 4px;
    }
    .wrapper {
        padding: 12px 20px 140px;
    }

    .wrapper .inner {
        padding: 0;
    }

    .wrapper .inner section {
        flex-direction: column;
        gap: 0;
    }

    .wrapper .inner section .filter-wrap {
        overflow: scroll;
        width: auto;

        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        padding-bottom: 28px;
    }

    .wrapper .inner section ul.filter {
        flex-direction: row;
    }

    .wrapper .inner section ul.filter li {
        flex: 0 0 auto;
    }

    .wrapper .inner section ul.filter li a {
        user-select: none;
        border-radius: 8px;
        background: rgba(120, 120, 128, 0.08);

        color: rgba(60, 60, 67, 0.60);
        font-family: "pretendard";
        /* font-size: 14px; */
        font-weight: 500;
        /* line-height: 19px; */
        /* letter-spacing: .2px; */
        padding: 9px;
    }

    .list li .a-1 {
        display: grid;
        grid-template-columns: 1fr 32px;
    }

    .wrapper .inner section ul.list li a {
        margin-left: auto;
        display: inline-flex;;
    }

    .wrapper .inner section ul.list li .title {
        overflow: hidden;
        /* white-space: nowrap; */
        /* text-overflow: ellipsis; */
        min-width: 0;
        flex: 1;  /* title이 가능한 만큼 공간 차지하게 함 */
        margin-right: 12px; /* 아이콘과 간격 주기 (선택사항) */
    }

    .page-title {
        color: #000;
        font-size: 20px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: -.2px;
        margin-bottom: 18px;
    }

    

    .list li .pb {
        background: #000;
        border-radius: 50%;
        padding: 4px;
    }
    .list li .pb > svg {width: 18px;}

    .list li .a-3 {
        padding-top: 6px;
        font-size: var(--fs-13); line-height: var(--lh-13); letter-spacing: var(--ls-13);
    }

    .list li .phea svg {
        width: 12px;
    }
}



#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#popup .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000050;
}
#popup .inner {
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    width: 90%;
    display: flex;
    flex-direction: column;
    max-width: 320px;
    height: 100%;
    max-height: 380px;
    overflow: scroll;
}
#popup .inner .title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
}
#popup .inner .desc {
    height: 100%;
    overflow: scroll;
}