/* pc */

/* ==================================== 주소검색 ==================================== */
.edk_addr_wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 100vh;
    display: none;
}

.edk_addr_wrap.active {
    display: block;
}

.edk_addr_wrap .dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
}

.edk_addr_wrap .edk_popup_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    width: 100%;
    max-width: 500px;
}

.edk_addr_wrap .edk_popup_box .edk_popup_addr_head {
    padding: 5px;
    text-align: right;
}

.edk_addr_wrap .edk_popup_box .edk_popup_addr_head>i {
    font-size: 30px;
    color: #888;
    cursor: pointer;
}

.edk_addr_wrap .edk_popup_box #edk_popup_addr {
    width: 100%;
}

.edk_addr_wrap .edk_popup_box #edk_popup_addr>div {
    width: 100% !important;
}

/* ==================================== 주소검색 ==================================== */


/* ==================================== 기본 팝업 ==================================== */
.popup_container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 500;
}

.popup_container.active {
    display: block;
}

.popup_container .dim {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 501;
    background-color: #000;
    opacity: 0.3;
}

.popup_container .popup_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    z-index: 502;
    width: calc(100% - 32px);
    max-height: calc(100% - 100px);
    overflow-y: auto;
}

.popup_container .popup_center.popup_size_xs {
    max-width: 343px;
}

.popup_container .popup_center.popup_size_sm {
    max-width: 556px;
}

.popup_container .popup_center.popup_size_md {
    max-width: 748px;
}

.popup_container .popup_center.popup_size_lg {
    max-width: 940px;
}

.popup_container .popup_center.popup_size_xl {
    max-width: 1116px;
}

.popup_container .popup_center.popup_size_full {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
}

.popup_container .popup_center .popup_head {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.popup_container .popup_center .popup_head>h2 {
    font-size: 18px;
    font-weight: 700;
}

.popup_container .popup_center .popup_head .btn_close {
    max-width: 30px;
    cursor: pointer;
}

.popup_container .popup_center .popup_body {
    padding: 16px;
}

/* ==================================== 기본 팝업 ==================================== */


/* ==================================== swal ==================================== */
div:where(.swal2-icon) {
    margin: 25px auto 0;
    font-size: 7px;
}

.custom_swal_popup {
    max-width: 343px !important;
    min-height: 182px;
}

div:where(.swal2-container) .swal2-html-container {
    margin: 0;
    overflow: visible;
    padding: 25px 20px;
    font-size: 16px;
    text-align: center;
}

/* 버튼 감싼 클래스 */
.swal2-container .edk_custom_action {
    margin: 0;
    width: 100%;
    border-top: 1px solid #E1E1E1;
    border-radius: 0;
}

.custom_alert_icon {
    max-width: 20px;
    margin-bottom: 18px;
}

.custom_alert_text {
    font-size: 16px;
    text-align: center;
    margin-bottom: 8px;
}

.custom_alert_text:last-child {
    margin-bottom: 0;
}

.edk_custom_action .custom_alert_btn {
    padding: 17px;
    background-color: transparent;
    color: black;
    width: 50%;
    border-radius: 0;
    border: none;
    margin: 0;
}

/* 두개일때 */
.edk_custom_action .custom_alert_btn.btn_default {
    border-right: 1px solid #E1E1E1;
}

/* 확인 버튼 하나만 있을때 */
.edk_custom_action .custom_alert_btn.btn_only {
    width: 100%;
}


.swal2-popup .swal2-styled.swal2-confirm:focus {
    box-shadow: none !important;
}

/* ==================================== swal ==================================== */




/* ==================================== 관리자 팝업 ==================================== */


.edk_admin_popup {
    border: 1px solid #ccc;
    position: fixed;
    top: 50%;
    /* left: 50%; */
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
}

.edk_admin_popup.Sm {
    width: 380px;
    height: 380px;
}

.edk_admin_popup.Md {
    width: 420px;
    height: 580px;
}

.edk_admin_popup.Lg {
    width: 600px;
    height: 600px;
}

.edk_admin_popup.active {
    display: block;
}

.edk_admin_popup .pop_section {
    width: 100%;
    height: calc(100% - 35px);
    background-color: white;
    overflow-y: auto;
}

.edk_admin_popup .pop_section img {
    max-width: 100%;
    object-fit: cover;
}

.edk_admin_popup .pop_bottom {
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding: 0 5px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}


.edk_admin_popup .pop_bottom .option_checke_input {
    display: flex;
    align-items: center;
}

.edk_admin_popup .pop_bottom .option_checke_input .edk_custom_checkbox+label {
    font-size: 14px;
}

.edk_admin_popup .pop_bottom .option_checke_input .edk_custom_checkbox+label:before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.edk_admin_popup .pop_bottom .option_checke_input .edk_custom_checkbox+label::after {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.edk_admin_popup .pop_bottom button {
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* mobile */
@media screen and (max-width: 486px) {
    .edk_admin_popup {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }

    .edk_admin_popup.Sm,
    .edk_admin_popup.Md,
    .edk_admin_popup.Lg {
        width: calc(100% - 20px);
        max-height: calc(100vh - 30px);
    }
}


/* ==================================== 관리자 팝업 ==================================== */

/* ==================================== 이미지 팝업 ==================================== */
.popup_container.popup_img_banner .popup_center .popup_head {
    padding: 0 16px;
    background-color: #F8F8F8;
}

.popup_img_banner .tab_nav {
    display: flex;
    border-bottom: 1px solid #9E9E9E;
}

.popup_img_banner .tab_nav .tab_item {
    padding: 24px 16px;
    background-color: transparent;
    font-size: 18px;
    font-weight: 400;
    color: #9E9E9E;
    position: relative;
}

.popup_img_banner .tab_nav .tab_item::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: transparent;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.popup_img_banner .tab_nav .tab_item.active {
    font-weight: 700;
    color: var(--main-color);

}

.popup_img_banner .tab_nav .tab_item.active::after {
    background-color: var(--main-color);
}

.popup_img_banner .close_btn {
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 700;
}

.popup_img_banner .popup_content {
    padding: 16px;
    display: flex;
    gap: 16px;
    height: calc(100% - 75px);
}

.popup_img_banner .search_wrap {
    width: 259px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popup_img_banner .search_wrap .edk_input_wrap.search {
    position: relative;
    margin-bottom: 8px;
}

.popup_img_banner .search_wrap .edk_input_wrap.search .input_border {
    border-radius: 4px;
    border-color: var(--main-color);
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
    padding: 17px 50px 17px 16px;
    font-size: 18px;
}

.popup_img_banner .search_wrap .edk_input_wrap.search .search_btn {
    display: flex;
    width: 24px;
    padding: 0;
    background-color: transparent;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.popup_img_banner .recent_search_wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    padding: 16px;
    background-color: #F7F5FE;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
    display: none;
}

.popup_img_banner .recent_search_wrap.active {
    display: block;
}

.popup_img_banner .search_list {
    flex-grow: 1;
    height: calc(100% - 70px);
    overflow-y: auto;
}

.popup_img_banner .search_list .search_item {
    display: flex;
    width: 100%;
    background-color: #F8F8F8;
    padding: 15px 32px;
    font-size: 18px;
    font-weight: 400;
    color: #222;
    position: relative;
}

.popup_img_banner .search_list li:not(:last-child) .search_item {
    border-bottom: 1px solid #EBEBEB;
}

.popup_img_banner .search_list .search_item.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
}

.popup_img_banner .recent_title {
    font-size: 14px;
    font-weight: 400;
    color: #5E5E5E;
}

.popup_img_banner .recent_list .recent_word {
    display: flex;
    width: 100%;
    gap: 8px;
    align-items: center;
    padding: 17px 16px;
    background-color: transparent;
    font-size: 16px;
    font-weight: 400;
    color: #222;
}

.popup_img_banner .recent_list .recent_word::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: url(/static/app_owner/product/img/icon_search_main.png) no-repeat center/contain;
    flex-shrink: 0;
}

.popup_img_banner .empty_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.popup_img_banner .empty_wrap .empty_text {
    font-size: 14px;
    font-weight: 400;
    color: #5E5E5E;
}

.popup_img_banner .popup_content .content_wrap {
    flex-grow: 1;
    overflow-y: auto;
}

.popup_img_banner .setting_wrap .title_wrap {
    border-bottom: 1px solid #EBEBEB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 16px;
    margin-bottom: 30px;
}

.popup_img_banner .setting_wrap .title_wrap .title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.popup_img_banner .setting_wrap .title_wrap button {
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 700;
}

.popup_img_banner .content_body {
    padding: 0 16px;
}

.popup_img_banner .basic_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popup_img_banner .basic_list li {
    width: calc((100% - 24px) / 4);
}

.popup_img_banner .basic_list .list_item {
    display: flex;
    width: 100%;
    height: 108px;
    background-color: #C6C6C6;
    border-radius: 1px;
    overflow: hidden;
    padding: 0;
}


.popup_img_banner .basic_list .list_item img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.popup_img_banner .banner_bg_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popup_img_banner .banner_bg_list li {
    width: calc((100% - 40px) / 6);
}

.popup_img_banner .banner_bg_list .bg_item {
    display: flex;
    padding: 0;
    width: 100%;
    height: 80px;
    border-radius: 4px;
    background-color: #FFF;
}


.popup_img_banner .banner_bg_list .bg_item img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.popup_img_banner .preview_top .preview_wrap {
    position: relative;
}

.popup_img_banner .preview_top .preview_wrap #banner_upload_wrap {
    height: 100%;
}

.popup_img_banner .preview_top .preview_wrap img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.popup_img_banner .preview_wrap .preview_sample_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: none;
    color: #222;
    font-size: 30px;
}

.popup_img_banner .product_img_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popup_img_banner .product_img_list li {
    width: calc((100% - 24px) / 5);
}

.popup_img_banner .product_img_list .list_item {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    padding: 0;
    background-color: #C6C6C6;
}


.popup_img_banner .product_img_list .list_item img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.popup_img_banner .edk_file_btn {
    padding: 0;
    display: flex;
    max-width: 100%;
    width: 386px;
    height: 206px;
    border-radius: 23px;
    border: 1px dashed #BBBBBB;
    overflow: hidden;
    background: #EBEBEB url(/static/app_owner/base/img/icon_plus_gray.png) no-repeat center/36px;
}

.popup_img_banner .edk_file_btn img {
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.popup_img_banner .banner_img {
    position: relative;
}

.popup_img_banner .banner_img.active::after {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 2px solid var(--main-color);
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

/* ==================================== 이미지 팝업 ==================================== */


/* tablet */
@media screen and (max-width: 1023px) {}

/* mobile */
@media screen and (max-width: 767px) {}