@charset "utf-8";
.icon_warning { display: inline-block; width: 34px; height: 34px; background: url(../../image/icon/icon_warning_black.svg) no-repeat center center; background-size: contain; margin-bottom: 12px; } 
.icon_confirm { display: inline-block; width: 34px; height: 34px; background: url(../../image/icon/icon_check_black.svg) no-repeat center center; background-size: contain; margin-bottom: 12px; } 

/*! popup */
#popup { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; z-index: 2000; } 
#popup .popup_bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); } 
#popup .popup_wrap { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; background: #ffffff; border-radius: 12px; z-index: 3000; overflow: hidden; } 
#popup .popup_wrap.type_full { top: 0; width: 100%; height: 100vh; border-radius: 0; } 
#popup .popup_wrap.type_center { top: 50%; transform: translateX(-50%) translateY(-50%); width: 90%; max-width: 432px; height: fit-content; } 
#popup .popup_wrap.type_toast { bottom: -100%; height: fit-content; border-bottom-left-radius: 0; border-bottom-right-radius: 0; transition: bottom 0.5s; } 
#popup.on .popup_wrap.type_toast { bottom: 0; } 
/*? header */
#popup .popup_head { position: relative; width: 100%; height: 48px; background: #ffffff; } 
#popup .popup_title { font-size: 16px; font-weight: 700; line-height: 48px; text-align: center; } 
#popup .btn_pop_back { position: absolute; top: 12px; left: 24px; width: 28px; height: 28px; background: url(../../image/layout/btn_back.svg) no-repeat center center; text-indent: -9999px; display: inline-block; z-index: 5; }
#popup .btn_pop_close { position: absolute; top: 12px; right: 24px; width: 28px; height: 28px; background: url(../../image/layout/btn_exit.svg) no-repeat center center; text-indent: -9999px; display: inline-block; z-index: 5; } 
/*? section */
#popup .popup_section.type_scroll { max-height: calc(100vh - 200px); overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none; }
#popup .popup_section.type_scroll::-webkit-scrollbar { display: none; } 
#popup .popup_section.type_bar::-webkit-scrollbar { display: block; width: 4px; } 
#popup .popup_section.type_bar::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 2px; }
#popup .popup_section.type_bar::-webkit-scrollbar-track { background: #ffffff; border-radius: 2px; }
#popup .popup_thumb { position: relative; width: 100%; height: 150px; overflow: hidden; }
#popup .popup_thumb img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; max-width: none; }
.popup_wrap .pop_cont_box { text-align: center; padding: 0 20px; }
.popup_wrap .pop_cont_box .title { font-size: 18px; font-weight: 700; line-height: 24px; margin-bottom: 8px; }
.popup_wrap .pop_cont_box .text { font-size: 16px; line-height: 22px; }
.popup_wrap .pop_text_list { width: 100%; padding: 16px; background: var(--gray-100); border-radius: 8px; }
.popup_wrap .pop_text_list li { position: relative; font-size: 14px; font-weight: 400; line-height: 20px; text-align: left; padding-left: 20px; margin-bottom: 4px; }
.popup_wrap .pop_text_list li:last-of-type { margin-bottom: 0; }
.popup_wrap .pop_text_list li::before { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; background: url(../../image/icon/icon_check_p_bold.svg) no-repeat center center; background-size: contain; content: ''; display: block; }
/*? button */
#popup .pop_btn_box { position: static; display: flex; align-items: center; justify-content: space-between; padding: 24px; }
#popup .pop_btn_box.type_fixed { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; min-width: 360px; padding: 10px 20px 20px; background: #ffffff;  z-index: 1000; }
#popup .btn { position: relative; width: 100%; height: 52px; font-size: 18px; font-weight: 600; color: #ffffff; line-height: 20px; text-align: center; padding: 16px; background: var(--purple); border: none; border-radius: 8px; box-sizing: border-box; display: block; pointer-events: all; }
#popup .btn.wid60 { width: calc(62% - 8px); font-size: 15px; padding: 16px 10px; }
#popup .btn.wid40 { width: 38%; font-size: 15px; padding: 16px 10px; }
#popup .btn.wid50 { width: calc(50% - 4px); font-size: 15px; padding: 16px 10px; }
#popup .btn.cancle { color: var(--purple); background: #ffffff; border: 1px solid var(--purple); }
#popup .btn:disabled,
#popup .btn.disabled { color: var(--gray-400); background: var(--gray-200); pointer-events: none; }
#popup .btn.type_arrow::after { width: 20px; height: 20px; background: url(../../resources/image/icon/icon_circle_right_w.svg) no-repeat center center; background-size: contain; content: ''; display: inline-block; vertical-align: -4px; margin-left: 6px; }
#popup .btn .count { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: inline-block; min-width: 18px; height: 18px; font-size: 12px; font-weight: 700; color: var(--purple); line-height: 18px; text-align: center; padding: 0 6px; background: #ffffff; border-radius: 9px; }
#popup .btn .price { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: inline-block; font-size: 13px; font-weight: 700; color: #ffffff; line-height: 14px; text-align: right; }

/* type_full */
#popup .popup_wrap.type_full .popup_head { position: sticky; height: 68px; }
#popup .popup_wrap.type_full .popup_title { line-height: 68px; }
#popup .popup_wrap.type_full .btn_pop_back,
#popup .popup_wrap.type_full .btn_pop_close { top: 20px; }

/* popup_product */
#popup .popup_product.type_scroll { max-height: 300px; }
#popup .popup_nuts_tag span { display: inline-block; font-size: 12px; font-weight: 400; color: var(--purple); line-height: 20px; padding: 0 10px; background: var(--purple-50); border-radius: 12px; margin: 0 4px 4px 0; }
#popup .popup_nuts_info .price_box { margin-top: 8px; }
#popup .popup_nuts_info .price_box dd { text-align: right; margin-top: 8px; }
#popup .popup_nuts_info .price_box .unit { display: inline-block; font-size: 13px; font-weight: 400; color: var(--gray-03); line-height: 18px; }
#popup .popup_nuts_info .price_box .price { display: inline-block; font-size: 18px; font-weight: 700; line-height: 22px; }
#popup .popup_nuts_detail { margin-top: 24px; }
#popup .popup_nuts_detail .title { font-size: 18px; font-weight: 700; line-height: 24px; margin-bottom: 8px; }
#popup .popup_nuts_detail .table { width: 100%; border-top: 1px solid var(--gray-200);  }
#popup .popup_nuts_detail .table li { display: flex; padding: 4px 0; border-bottom: 1px solid var(--gray-200); }
#popup .popup_nuts_detail .table li > * { width: 50%; font-size: 13px; line-height: 18px; }
#popup .popup_nuts_detail .table .th { font-weight: 700; }
#popup .popup_nuts_detail .table .td { text-align: right; }
#popup .popup_nuts_detail .img_mark_box img { width: 32px; }

/* type_terms */
#popup .popup_terms .terms_title { font-size: 20px; font-weight: 700; letter-spacing: 1px; text-align: center; margin-bottom: 36px; } 
#popup .popup_terms .popup_inner { max-height: 45vh; }
.agree_text dt { font-size: 15px; font-weight: 700; margin: 30px 0; } 
.agree_text dt:first-of-type { margin-top: 0; } 
.agree_text dd { font-size: 13px; line-height: 22px; border-bottom: 2px solid #d9dbe9; padding-bottom: 30px; } 
.agree_text dd:last-of-type { border-bottom: 0; } 
.agree_text dd li { margin-bottom: 22px; } 
.agree_text dd li:last-of-type { margin-bottom: 0; }

/*! popup_alert */
#popup_alert { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; z-index: 2000; } 
#popup_alert .popup_bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); } 
#popup_alert .popup_wrap { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 90%; max-width: 432px; background: #fff; text-align: center; padding: 24px; border-radius: 16px; z-index: 3000; } 
#popup_alert .text { font-size: 15px; font-weight: 400; line-height: 22px; }
#popup_alert .btn_box_wrap { padding: 24px 0; }





/** ---------- mobile ---------- **/
@media only screen and (max-device-width : 640px) {
    #popup .popup_wrap.type_full {
        height: calc(var(--vh,1vh) * 100);
    }
    #popup .popup_wrap.type_toast .popup_inner { 
        max-height: calc(var(--vh,1vh) * 80);
    }
}