:root {
    /* input style */
    /* --input-padding-x: 16px; */
    /* --input-padding-y: 12px; */

    /* input_title font-size */
    --input-title-size: 18px;

    /* input font-size */
    /* --input-font-size: 16px; */

    --input-border-color: #9E9E9E;

    /* input[checkbox] icon */
    /* --check-default-img:url(); */
    /* --check-active-img:url(); */

    /* input[radio] icon */
    /* --radio-default-img:url(); */
    /* --radio-active-img:url(); */

    /* input icon크기 */
    /* --input-icon-size: 20px; */

    /* coupon color */
    --coupon-color: #FF9BA5;

    /* 프로젝트 style */
    --main-color: #1B3B6F;
    --error-color: #FF5757;
    --success-color: #2D67FF;
    --highlight-color: #FFE25F;
}

/* www만 별도로 font 설정이 필요할때 */
/* body {
    font-family: 'Segoe UI', sans-serif;
} */

/* pc */
#base_wrap {
    position: relative;
    width: 100%;
    color: #222;
    /* height: 100vh;
    overflow-y: auto; */
}

body.scroll-lock {
    overflow: hidden;
}

.scroll-lock {
    overflow-y: hidden;
}

.inner {
    max-width: 1164px;
    padding: 0 16px;
    margin: 0 auto;
}

/* 일시적인 숨김, 일시적인 표시 일때 control class */
.hide {
    display: none !important;
}

/* 웹접근성 hide */
.edk_WAI {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    z-index: -1;
    border: none;
    padding: 0;
    margin: 0;
}

/* 반응형 display control */
.is_mobile {
    display: none;
}

.scroll-no {
    /* 인터넷 익스플로러 스크롤바 삭제 */
    -ms-overflow-style: none;
    /* 파이어폭스 스크롤바 삭제 */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

/* ( 크롬, 사파리, 오페라, 엣지 ) 스크롤바 삭제 */
.scroll-no::-webkit-scrollbar {
    /* 가로 스크롤바 숨기기 */
    width: 0;
    /* 세로 스크롤바 숨기기 */
    height: 0;
    display: none;
}

/* 텍스트 ... 처리 */
.text_reduce {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* btn */
.btn_default {
    border: 1px solid #AAA;
    background-color: transparent;
    color: #222;
    border-radius: 6px;
}

.btn_default.border_main {
    border-color: var(--main-color);
    color: var(--main-color);
}

.btn_default.fill_main {
    border-color: var(--main-color);
    background-color: var(--main-color);
    color: #FFF;
}

.btn_default.fill_gold {
    border-color: #8f7c37;
    background-color: #8f7c37;
    color: #FFF;
}

.btn_default.border_red {
    border-color: var(--error-color);
    color: var(--error-color);
}

.btn_default.fill_red {
    border-color: var(--error-color);
    background-color: var(--error-color);
    color: #FFF;
}

.btn_default.border_gray {
    border-color: #5E5E5E;
    color: #5E5E5E;
}

.btn_default.fill_gray {
    border-color: #5E5E5E;
    background-color: #5E5E5E;
    color: #FFF;
}

.btn_default.fill_black {
    border-color: #222222;
    background-color: #222222;
    color: #FFF;
}

.btn_default.full {
    width: 100%;
    text-align: center;
}

/* btn group */
.btn_group {
    display: flex;
    gap: 8px 16px;
}

.btn_group.column {
    flex-wrap: wrap;
}

.btn_group.center {
    justify-content: center;
}

.btn_group.right {
    justify-content: flex-end;
}

/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination .paging {
    display: flex;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
}

.pagination .paging.active {
    background-color: #EBEBEB;
}

.pagination .paging.num {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 400;
    color: #222;
}

.pagination .paging.arrow {
    padding: 8px 6px;
}

.pagination .paging.arrow .img_wrap {
    width: 28px;
    height: 28px;
}

.pagination .paging.arrow img {
    object-fit: contain;
    object-position: center;
}

/* empty */
.empty_wrap {
    display: flex;
    flex-direction: column;
    /* gap: ; */
    align-items: center;
    padding: 240px 0;
}

.empty_title {
    font-size: 14px;
    font-weight: 500;
    color: #5E5E5E;
    text-align: center;
}

/* 쿠폰 css(임시위치) */
/* 쿠폰 메인색상은 root에서 설정 */
.coupon_list_wrap .list_count {
    margin-bottom: 24px;
    font-size: 14px;
}

.coupon_list_wrap .list_count span {
    color: #5E5E5E;
}

.coupon_list_wrap .coupon_list>li:not(:last-child) {
    margin-bottom: 24px;
}

.coupon_wrap {
    width: 100%;
    height: 241px;
    border-radius: 21px;
    overflow: hidden;
    margin: auto;
    display: flex;
    align-items: stretch;
    position: relative;
    text-transform: uppercase;
}

.coupon_wrap::before,
.coupon_wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
}

.coupon_wrap::before {
    left: 0;
    background-image: radial-gradient(circle at left,
            transparent 25px,
            var(--coupon-color, var(--main-color)) 0px);
}

.coupon_wrap::after {
    right: 0;
    background-image: radial-gradient(circle at right,
            transparent 25px,
            var(--coupon-color, var(--main-color)) 0);
}

.coupon_wrap>div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon_wrap .coupon_left {
    width: 20%;
    border-right: 2px dashed rgba(0, 0, 0, 0.13);
}

.coupon_wrap .coupon_left div {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-weight: bold;
    margin-left: 20px;

    font-size: 32px;
    font-weight: 500;
    color: #FFF;
}

.coupon_wrap .coupon_center {
    flex-grow: 1;
    text-align: center;
    width: 60%;
    padding: 10px 53px 10px 27px;
    color: #FFF;
}

.coupon_wrap .coupon_center>div {
    width: 100%;
}

.coupon_wrap .coupon_center h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

.coupon_wrap .coupon_center h3 {
    /* background: #222; */
    padding: 1px 15px;
    font-size: 38px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 18px;
}

.coupon_wrap .coupon_center .coupon_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon_wrap .coupon_center .coupon_info:not(:last-child) {
    margin-bottom: 4px;
}

.coupon_wrap .coupon_center .coupon_info h4 {
    font-size: 16px;
    font-weight: 500;
}

.coupon_wrap .coupon_center .coupon_info p {
    font-size: 16px;
}

/* 메인 타이틀 영역 */
.main_title_cont {
    text-align: center;
    padding: 200px 0 100px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* img 각 페이지 별도 */
}

.main_title_cont .title {
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
}

.main_title_cont .title .highlight {
    color: var(--highlight-color);
}

.main_title_cont .sub_title {
    margin-top: 14px;
    font-size: 20px;
    color: #FFFFFF;
}

/* input  */
/* sub_title이 있는 경우 기존 label이 아닌 다른 태그에 해당 class 부여하고 서브텍스트에 sub_title 부여, 메인타이틀은 label */
.edk_input_wrap .input_title {
    margin-bottom: 12px;
}

.edk_input_wrap .input_title .sub_title {
    margin-top: 4px;
    color: #5E5E5E;
    font-size: 14px;
    font-weight: 400;
}

.edk_input_wrap .input_title .sub_title .color {
    color: var(--error-color);
}


/* 장례식장 주소 검색 영역 */
.edk_input_wrap.addr_search .addr_area .input_flex_area {
    margin-bottom: 0;
}

.edk_input_wrap.addr_search .input_flex_area .edk_input.addr {
    padding-right: calc(var(--input-padding-x, 16px) + var(--input-icon-size, 20px));
    background-color: #F8F8F8;

    background-image: url('/static/app_www/base/img/icon_search_gray.png');
    background-repeat: no-repeat;
    background-position: right calc(var(--input-padding-x, 16px) - 6px) center;
    background-size: var(--input-icon-size, 20px) auto;
}

.edk_input_wrap.addr_search .addr_detail {
    position: relative;
}

.edk_input_wrap.addr_search .addr_detail .dim {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.edk_input_wrap.addr_search .addr_detail_list {
    position: absolute;
    left: 0;
    top: 5px;
    width: 100%;
    overflow-y: auto;
    max-height: 414px;
    background-color: #fff;
    border: 1px solid #5E5E5E;
    border-radius: 2px;
    z-index: 5;
}

.edk_input_wrap.addr_search .addr_detail_list .list_item {
    background-color: transparent;
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
}

.edk_input_wrap.addr_search .addr_detail_list li:not(:last-child) .list_item {
    border-bottom: 1px solid #E1E1E1;
}

.edk_input_wrap.addr_search .addr_detail_list .list_item .title {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
}

.edk_input_wrap.addr_search .addr_detail_list .list_item .addr_info {
    font-size: 14px;
}


/* 리스트 영역 - 테이블 형태 */
.edk_table_wrap {
    width: 100%;
    overflow-x: auto;
}

.edk_table {
    /* border-left: 1px solid #BBBBBB;
    border-right: 1px solid #BBBBBB; */
    /* min width 각 페이지 설정 */
}

.edk_table .thead {
    border-top: 2px solid #BBBBBB;
    border-bottom: 2px solid #BBBBBB;
}

.edk_table .tr {
    display: flex;
}

.edk_table .thead .tr {
    background-color: #F8F8F8;
    font-weight: 500;
}

.edk_table .tbody .tr {
    border-bottom: 1px solid #BBBBBB;
}

.edk_table .tbody .tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.edk_table .td {
    font-size: 16px;
    text-align: center;
    padding: 13px 16px;
}

.edk_table .td:not(:last-child) {
    border-right: 1px solid #BBBBBB;
}

/* tab nav */
.tab_nav {
    display: flex;
    border-bottom: 1px solid #BBBBBB;
}

.tab_nav>li {
    flex: 1 1 auto;
}

.tab_nav .tab_item {
    display: flex;
    padding: 15px 0;
    height: 100%;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid transparent;
    font-size: 20px;
    font-weight: 400;
    color: #5E5E5E;
}

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

/* best badge */
.badge {
    color: var(--success-color);
    text-transform: uppercase;
}

/* 상품 이미지 없을때 */
.img_wrap.no_img {
    background-color: #F8F8F8;
    justify-content: center;
    align-items: center;
}

.img_wrap.no_img img {
    height: auto !important;
    object-fit: initial !important;
    /* max-width 개별 설정 */
    /* max-width: 136px; */
}

.count_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.count_wrap .content_count {
    font-size: 15px;
    font-weight: 400;
    color: #222;
}

.count_wrap .content_count span {
    color: #5E5E5E;
}

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

    /* 반응형 display control */
    .is_pc {
        display: none !important;
    }

    .is_mobile {
        display: block;
    }

    .is_mobile.flex {
        display: flex;
    }

    .empty_wrap {
        padding: 130px 0;
    }

    /* 메인 타이틀 영역 */
    .main_title_cont {
        padding: 94px 0 50px;
    }

    .main_title_cont .title {
        font-size: 18px;
    }

    .main_title_cont .sub_title {
        font-size: 14px;
        margin-top: 8px;
    }

    .edk_input_wrap .input_title {
        --input-title-size: 14px;
    }

    .tab_nav .tab_item {
        font-size: 16px;
        padding: 12px 0;
    }
}

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

    /* 쿠폰 css(임시위치) */
    .coupon_list_wrap .list_count {
        font-size: 12px;
    }

    .coupon_wrap {
        height: 160px;
        border-radius: 14px;
    }

    .coupon_wrap::before,
    .coupon_wrap::after {
        width: 51%;
    }

    .coupon_wrap::before {
        background-image: radial-gradient(circle at left,
                transparent 17px,
                var(--coupon-color, var(--main-color)) 0px);
    }

    .coupon_wrap::after {
        background-image: radial-gradient(circle at right,
                transparent 17px,
                var(--coupon-color, var(--main-color)) 0);
    }

    .coupon_wrap .coupon_left div {
        margin-left: 16px;

        font-size: 21px;
    }

    .coupon_wrap .coupon_center {
        padding: 10px 41px 10px 31px;
    }

    .coupon_wrap .coupon_center h2 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .coupon_wrap .coupon_center h3 {
        padding: 1px 10px;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .coupon_wrap .coupon_center .coupon_info:not(:last-child) {
        margin-bottom: 2px;
    }

    .coupon_wrap .coupon_center .coupon_info h4 {
        font-size: 14px;
    }

    .coupon_wrap .coupon_center .coupon_info p {
        font-size: 14px;
    }

    .count_wrap {
        flex-direction: column-reverse;
        margin-bottom: 12px;
        align-items: flex-start;
    }

    .count_wrap .content_count {
        font-size: 12px;
    }
}

#BtnBank {
    background-color: transparent;
    border: 2px solid var(--main-color);
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--main-color);
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    #BtnBank {
        padding: 0 12px;
        font-size: 14px;
    }

    .mobile_block {
        display: block;
    }
}