/* 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;
    bottom: 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_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 custom ==================================== */
div:where(.swal2-icon) {
    margin: 25px auto 0;
    font-size: 7px;
}

.swal2-container .custom_swal_popup {
    max-width: 343px;
    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;
}

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

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

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

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

/* 
.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;
} */

/* ==================================== 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;
}

/* 장바구니 팝업 */

.popup_container .popup_bottom {
    width: 100%;
    overflow-y: auto;
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px 16px;
    border-radius: 30px 30px 0 0;
    background-color: #FFF;
    max-height: calc(100% - 100px);
    z-index: 501;
    transition: all 300ms;
    max-width: 600px;
}

.popup_container.active .popup_bottom {
    bottom: 0;
}

.popup_cart {
    display: block;
    visibility: hidden;
    transition: all 300ms;
}

.popup_cart.active {
    visibility: visible;
}

.popup_cart .check_item .item_info {
    max-width: 140px;
    margin: 0 auto 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup_cart .check_item .item_info .img_wrap {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e8e8e8;
}

.popup_cart .check_item .item_info .img_wrap img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.popup_cart .check_item .item_info .badge {
    border-radius: 2px;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.popup_cart .check_item .item_desc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup_cart .check_item .item_desc .pr_tit {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    text-align: center;
}

.popup_cart .check_item .item_desc .pr_standard {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    text-align: center;
}

.popup_cart .check_item .item_desc .pr_origin {
    font-size: 14px;
    font-weight: 400;
    color: #5E5E5E;
    text-align: center;
}

.popup_cart .check_price {
    margin-top: 24px;
}

.popup_cart .check_price .price_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup_cart .check_price .price_item:not(:last-child) {
    padding-bottom: 19px;
    border-bottom: 2px solid #F6F6F6;
    margin-bottom: 19px;
}

.popup_cart .check_price .price_item dt {
    font-size: 18px;
    font-weight: 500;
    color: #222;
}

.popup_cart .check_price .price_item.total dt {
    font-weight: 700;
    color: var(--error-color);

}

.popup_cart .check_price .price_item.total dd {
    font-size: 20px;
    font-weight: 700;
    color: var(--error-color);
}

.popup_cart .btn_wrap {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.popup_cart .btn_wrap .btn_default {
    font-weight: 700;
    font-size: 16px;
    padding: 13px 0;
}

.popup_cart .btn_wrap .in_cart {
    width: calc((100% - 8px) * 0.6);
}

.popup_cart .btn_wrap .close_btn {
    width: calc((100% - 8px) * 0.4);
}

/* 장바구니 팝업 end */

/* 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);
    }
}


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


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

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