#bookmark-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    z-index: 1000;
    display: none;
    border-radius: 12px;
    overflow: hidden;
    width: 480px;
    padding: 30px;
}

#bookmark-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 0;
    line-height: 0;
}

#bookmark-popup-header h3 {
    margin: 0;
    color: #242424;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
}

#bookmark-popup-header button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

#bookmark-popup-header button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#bookmark-popup-content {
    padding: 0px;
    background: #ffffff;
    margin: 20px 0px;
}
form#bookmark-form {
    max-height: 300px;
    overflow-y: auto;
}
div#no-bookmark-message {
    display: flex;
    height: 65px;
    text-align: center;
    justify-content: center;
    color: #242424;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 32px;
}
div#no-bookmark-message2 {
    margin-bottom: 20px;
    color: #242424;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
}
#bookmark-popup-footer {
    padding: 0;
}

#bookmark-popup-footer button {
    padding: 12px 0px;
    background: #7023C7;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    color: #FFF;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.09px;
    border-radius: 10px;
}

#bookmark-popup-footer button:hover {
    background: #7023C7;
}

#bookmark-list {
    margin: 0;
    padding: 0;
}

#bookmark-list div {
    margin-bottom: 10px;
    display: flex;
}

#bookmark-list input[type="checkbox"] {
    margin-right: 10px;
}
span.wepick-brand-pop {
    color: rgb(116, 116, 116);
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: -0.3px;
}


/* 추가 */
button#show-bookmark-popup-pc {
    width: 205px;
    height: 320px;
    border-radius: 8px;
    border: 2px dashed #DCDEE4;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.08);
    background: none;
    padding: 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
}
button#show-bookmark-popup-pc:hover {
    background: none;
}

.selected-item {
    width: 205px;
}
.bookmark-item-info {
    display: block;
    width: 100%;
}
.selected-item .bookmark-item-info img {
    width: 173px;
    height: 150px;
    margin: 0;
    border-radius: 8px;
}
.selected-item .bookmark-item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
div#selected-items {
    display: flex;
    align-items: center;
    gap: 30px;
    align-self: stretch;
}

.default-item {
    width: 205px;
}
.default-item-info img {
    width: 205px;
    border-radius: 12px!important;
}
.default-item-info {
    width: 100%;
    height: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}
.wepick-entry-content {
    width: 100%;
    display: flex;
    gap: 30px;
}
.default-item .default-item-info h3 {
    color: #191919;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.default-item-info span {
    color: #979797;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}
.add-defalut-info {
    margin-top: 12px;
}
.add-defalut-info .add-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}
.add-defalut-info .add-info h3 {
    color: #979797;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.add-defalut-info .add-info span {
    color: #541A95;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
}
.add-defalut-info .add-info.select span {
    color: #191919;
}
.wepick-entry-content .add-defalut-info hr {
    max-width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
    max-width: 100%;
    border: none;
    border-bottom: 1px solid #EBEDF2;
    opacity: 1;
}


/**/
#bookmark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: none;
}

.bookmark-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.bookmark-item input[type="checkbox"] {
    margin-right: 10px;
}

.bookmark-item img {
    width: 84px;
    height: 84px;
    margin-right: 10px;
}

.bookmark-item-info .info {
    display: flex;
    flex-direction: column;
}

.bookmark-item-category span {
    padding: 4px;
    color: var(--main, #7023C7);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    border-radius: 4px;
    background: #F7F0FF;
}
#bookmark-popup-content h3 {
    overflow: hidden;
    color: var(--text-01, #191919);
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.16px;
    margin-bottom: 0;
}

.wepick-entry-content {
display: flex;
flex-wrap: wrap; /* 너비 초과 시 줄바꿈 */
gap: 20px; /* 요소 간 간격 */
}

.default-item,
.selected-item {
flex: 1 1 calc(33.333% - 20px); /* 한 줄에 최대 3개 배치 (33.333%) */
max-width: calc(33.333% - 20px); /* 최대 너비 설정 */
box-sizing: border-box;
margin-bottom: 20px;
}
/**/

.selected-item-box {
    display: flex;
    width: 205px;
    height: 340px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
    position: relative;
}

.selected-item-box .bookmark-item-info .info h3 {
    overflow: hidden;
    color: #191919;
    text-overflow: unset;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-transform: unset;
    margin-bottom: 0;
    white-space: unset;
}
.selected-item .selected-item-box .delete-button {
    background: none;
    padding: 0;
    min-height: auto;
}
.selected-item-box .bookmark-item-info .info .brand-name {
    color: #979797;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0;
}
.selected-item-box .bookmark-item-info .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}
.selected-item-box .bookmark-item-info .info a {
    width: 100%;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #7023C7;
    background: #FFF;
    height: 40px;
    padding: 12px 0px;
    color: #7023C7;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.09px;
}
a.product-link {
    border-radius: 6px;
    border: 1px solid var(--main, #7023C7);
    background: #FFF;
    width: calc(100% - 32px);
    text-align: center;
    padding: 12px 0px;
    color: var(--main, #7023C7);
    /* font-family: "Noto Sans KR"; */
    font-size: 14px;
    /* font-style: normal; */
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.09px;
    position: absolute;
    bottom: 16px;
    left: 16px;
}
button#show-bookmark-popup-mobile {
    display: none;
}
button#show-bookmark-popup-pc {
    display: flex;
}

#bookmark-list .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    flex: 1 0 0;
    align-self: stretch;
}

#bookmark-list .bookmark-item-category {
    margin-bottom: 0;
}







/* 모바일 */
@media (max-width: 767px) {
    button#show-bookmark-popup-mobile {
        display: block;
        width: 100%;
        height: 48px;
        text-align: center;
        margin-bottom: 24px;
        border-radius: 10px;
        border: 1px solid #7023C7;
        background: #FFF;
        color: #7023C7;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.09px;
    }
    button#show-bookmark-popup-pc {
        display: none;
    }
    #bookmark-popup {
        width: 100%;
        padding: 20px 20px 20px 20px;
        height: 100vh;
        border-radius: 0;
    }
    #bookmark-popup-footer {
        padding: 0;
        bottom: 20px;
        left: 20px;
        position: absolute;
        width: calc(100% - 40px);
    }
    #bookmark-popup-content {
        max-height: 85vh;
    }
    .default-item, .selected-item {
        max-width: 164px;
    }
    .default-item-info img {
        width: 100%;
        border-radius: 8px;
    }
    .default-item-info {
        height: 320px;
        width: 164px;
    }
    .wepick-entry-content {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        align-self: stretch;
        overflow-x: scroll;
        flex-wrap: nowrap;
    }
    .selected-item-box {
        width: 165px;
        height: 320px;
    }
    .selected-item .bookmark-item-info img {
        width: 140px;
        height: 120px;
    }
    form#bookmark-form {
        max-height: 73vh;
        overflow-y: auto;
    }
}