:root {
    --main-color: #6d00e2;
    --error-color: #FF5757;
    --red-color: #FF4F4F;
    --success-color: #2D67FF;
}


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

/* 화면 100% 맞춰서 높이 조절 */
#base_wrap>div.adjust_height {
    min-height: calc(100% - 82px);
}

#base_container {
    padding: 0 0 64px;
}

body.scroll-lock {
    overflow: hidden;
}

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

html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 10px;
    opacity: 0.8;
}

.inner {
    /* width는 임시값 */
    /* max-width: 632px; */
    padding: 0 16px;
    /* margin: 0 auto; */
}

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

/* 반응형 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 {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DFDFDF;
    background-color: transparent;
    color: #222;
    border-radius: 4px;
}

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

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

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

.btn_default.fill_blue {
    border-color: var(--success-color);
    background-color: var(--success-color);
    color: #fff;
}

.btn_default.fill_red {
    border-color: #FE4E4E;
    background-color: #FE4E4E;
    color: #fff;
}

/* 검색input + 버튼 */
.search_area {
    position: relative;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.search_area .edk_custom_input {
    width: 100%;
}

.search_area .btn_search {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 56px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;

}

.search_area .btn_search .img_wrap {
    width: 24px;
    position: relative;
    overflow: hidden;
}

.search_area .btn_search .img_wrap::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.search_area .btn_search .img_wrap img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
}

/* 카테고리 구분선 */
.divide_line_area {
    /* padding: 20px 0; */
}

.divide_line_area .divide_line {
    height: 5px;
    width: 100%;
    border-top: 5px solid #F8F8F8;
}

/* 주문서,주문조회 내 주문상품 리스트 상세 top */
.order_buy_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.order_buy_top .title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.order_buy_top .order_acc {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: transparent;
}

.order_buy_top .order_acc::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url(/static/app_www/base/img/icon_select_down_gray.png) no-repeat center/contain;
}

.order_buy_top .order_acc.active::after {
    transform: rotate(180deg);
}

.order_buy_top .order_acc .order_item_detail {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.order_buy_top .order_acc.active .order_item_detail {
    display: none;
}

/* 주문서,주문조회 내 개별 상품 항목 */
.order_products {
    display: none;
    border-top: 2px solid #F8F8F8;
    padding: 20px 0;
    flex-direction: column;
    gap: 20px;
}

.order_products.active {
    display: flex;
}

.order_item_area {
    display: flex;
    align-items: center;
    gap: 0 14px;
}

.order_item_area .img_wrap {
    width: 100px;
    overflow: hidden;
    position: relative;
    border-radius: 3px;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.order_item_area .img_wrap::after {
    display: block;
    content: "";
    padding-bottom: 100%;
}

.order_item_area .img_wrap img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
}

.img_wrap .none_img {
    /* background-color: #D9D9D9; */
    background-color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #5E5E5E;
}

.order_item_area .order_item_info {
    flex-grow: 1;
    width: calc(100% - 114px);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order_item_area .order_item_info .product_title_area {
    display: flex;
    align-items: center;
    gap: 0 10px;
}

.order_item_area .order_item_info .product_title_area>h3 {
    width: auto;
}

.order_item_area .order_item_info .product_title_area>span {
    color: var(--error-color);
    font-weight: 700;
}

.order_item_area .order_item_info .item_title {
    /* 폰트사이즈개별 */
    font-weight: 500;
}

.order_item_area .order_item_info .item_price_wrap,
.order_item_area .order_item_info .item_price_wrap .count_text {
    display: flex;
    gap: 0 8px;
    align-items: center;
}

.order_item_area .order_item_info .item_price_wrap .price_area {
    display: flex;
    align-items: center;
    gap: 0 4px;
}

.order_item_area .order_item_info .item_price_wrap .price_text {
    font-weight: 700;
    font-size: 18px;
}

.order_item_area .order_item_info .item_price_wrap .price_before_text {
    color: #BBBBBB;
    text-decoration: line-through;
}

.order_item_area .order_item_info .item_price_wrap .count_text::before {
    content: "";
    display: block;
    width: 1px;
    /* height는 개별, 현재는 임시값 */
    height: 12px;
    border-left: 1px solid #BBBBBB;
}

/* slide+매장정보있는 info_container 공통*/
.info_swiper {
    margin-bottom: 30px;
}

.info_swiper .swiper-slide {
    width: 100%;
    cursor: pointer;
}

.info_swiper .swiper-slide .img_dim {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.109509) 62.5%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 9;

}

.info_swiper .swiper-slide img {
    object-fit: cover;
    aspect-ratio: 2/1;
    display: block;
}

.info_swiper>.info_pagination {
    position: absolute;
    --swiper-pagination-bottom: 20px;
    /* bottom: 20px; */
    display: flex;
    gap: 0 12px;
    align-items: center;
    justify-content: flex-end;
    z-index: 10;
    padding-right: 24px;
}

.info_swiper .info_pagination span {
    background-color: #FFF;
    width: 10px;
    height: 10px;
    border-radius: 1000px;
    transition: all 0.3s ease;
    opacity: 1;
    --swiper-pagination-bullet-horizontal-gap: 0px;
}

.info_swiper .info_pagination span.active {
    background-color: var(--main-color);
    width: 15px;
}

.info_container .store_info_wrap {
    text-align: center;
}

.info_container .store_info_wrap .store_name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info_container .store_info_wrap .store_addr {
    margin-bottom: 16px;
    font-size: 14px;
    color: #5E5E5E;
}

.info_container .store_info_wrap .btn_tel {
    padding: 10px 0;
    font-size: 16px;
    color: #5E5E5E;
    font-weight: 700;
    gap: 0 8px;
    max-width: 133px;
    margin: 0 auto;
}

.info_container .store_info_wrap .btn_tel .img_wrap {
    width: 18px;
    position: relative;
    overflow: hidden;
}

.info_container .store_info_wrap .btn_tel .img_wrap::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.info_container .store_info_wrap .btn_tel .img_wrap img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
}

.info_container .info_section:not(:last-of-type) {
    padding-bottom: 25px;
    border-bottom: 2px solid #F8F8F8;
    margin-bottom: 25px;
}

.info_container .info_title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* 오시는길 지도영역 */
.info_container .info_section .info_map {
    min-height: 298px;
    background-color: #C8C8C8;
}

/* 정보 리스트 */
.info_container .info_list .list_item_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 10px;
    font-size: 16px;
}

.info_container .info_list .list_item_wrap:not(:last-of-type) {
    margin-bottom: 14px;
}

.info_container .info_list .list_item_wrap .item_title {
    width: 100%;
    max-width: 140px;
    flex-shrink: 0;
    color: #5E5E5E;
}

.info_container .info_list .list_item_wrap .item_text {
    flex-grow: 1;
    font-weight: 500;
}


/* 수량 조절 */
.count_wrap {
    display: flex;
    gap: 22px;
    border: 1px solid #E1E1E1;
    border-radius: 6px;
}

.count_wrap.soldout {
    background-color: #F8F8F8;
}

.count_wrap .count_btn {
    background-color: transparent;
    width: 46px;
    height: 100%;
    padding: 13px;
    display: flex;
}

.count_wrap .count_btn:disabled {
    pointer-events: none;
}

.count_wrap .count_btn .disabled {
    display: none;
}

.count_wrap .count_btn:disabled .disabled {
    display: block;
}

.count_wrap .count_btn:disabled .active {
    display: none;
}

.count_wrap .pr_cart_num {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
}


/* 하단 총 상품금액 및 주문하기 영역 */
.btn_bottom_area .payment_area {
    padding: 20px 16px;
    background-color: #EFEFEF;
    border-radius: 4px;
    margin-bottom: 30px;
}

.btn_bottom_area .payment_area .pay_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 16px;
    font-size: 18px;
}

.btn_bottom_area .payment_area .payment_list {
    padding-bottom: 20px;
    border-bottom: 2px dashed #BBBBBB;
    margin-bottom: 20px;
}

.btn_bottom_area .payment_area .payment_list .pay_item:not(:last-child) {
    margin-bottom: 16px;
}

.btn_bottom_area .payment_area .pay_item.cost_item {
    font-weight: 700;
    color: var(--red-color);
}

.btn_bottom_area .btn_area .btn_order {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 0;
}


.payment_info_wrap {
    padding: 20px 16px;
    border-radius: 4px;
    background-color: #F7F7F8;
}

.payment_info_wrap dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment_info_wrap dl:not(:last-child) {
    margin-bottom: 10px;
}

.payment_info_wrap dt {
    font-size: 16px;
    font-weight: 400;
    color: #5E5E5E;
}

.payment_info_wrap dd {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
}

/* 약관 여백 */
.terms_container {
    padding: 24px 0;
}

/* 검색결과 빈 값 */
.empty_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.empty_wrap .empty_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--error-color);
}

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

    /* 화면 100% 맞춰서 높이 조절 */
    #base_wrap>div.adjust_height {
        min-height: calc(100% - 82px);
    }

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

    .is_mobile {
        display: block;
    }

    .is_mobile.flex {
        display: flex;
    }
}

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

    /* 화면 100% 맞춰서 높이 조절 */
    #base_wrap>div.adjust_height {
        min-height: calc(100% - 82px);
    }
}

.POPUPIMGVIEWER {
    line-height: 0;
}