/* font */
@font-face {
    font-family: 'Black Han sans';
    src: local('Black Han sans'),
        url(/static/app_owner/product/font/BlackHanSans-Regular.ttf) format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'KOTRA HOPE';
    src: local('KOTRA HOPE'),
        url(/static/app_owner/product/font/KOTRA-HOPE.ttf) format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'BM DoHyen';
    src: local('BM DoHyen'),
        url(/static/app_owner/product/font/BMDOHYEON.ttf) format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Room No.703';
    src: local('Room No.703'),
        url(/static/app_owner/product/font/Room-No.703.ttf) format('truetype');
    font-weight: 700;
}

.font_default {
    font-family: 'Noto Sans KR';
}

.font_blackhan {
    font-family: 'Black han sans';
}

.font_kotra {
    font-family: 'KOTRA HOPE';
}

.font_dohyen {
    font-family: 'BM DoHyen';
}

.font_room703 {
    font-family: 'Room No.703';
}

/* font end */

/* 전광판 효과 */
@keyframes twinkle_effect {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.effect_twinkle {
    animation: twinkle_effect 0.7s ease-in-out infinite alternate;
}

@keyframes rl_effect {
    0% {
        left: 100%;
        transform: translate(100%, -50%);
    }

    100% {
        left: 0;
        transform: translate(-100%, -50%);
    }

}

.effect_rl {
    position: absolute;
    top: 50%;
    animation: rl_effect 5000ms linear infinite both;
    white-space: nowrap;
}

@keyframes lr_effect {
    0% {
        left: 0;
        transform: translate(-100%, -50%);
    }

    100% {
        left: 100%;
        transform: translate(100%, -50%);
    }

}

.effect_lr {
    position: absolute;
    top: 50%;
    animation: lr_effect 5000ms linear infinite both;
    white-space: nowrap;
}

.category_wrap {
    padding-bottom: 23px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px 8px;
}

/* .category_wrap.has_mb>li:not(.pr_wrap.no_image) {
    margin-bottom: 20px;
} */

/* .category_wrap>li:not(.pr_wrap.no_image, .pr_wrap.arr_1),
.category_wrap>li.has_mb {
    margin-bottom: 20px;
} */

.category_wrap:not(:last-child) {
    margin-bottom: 23px;
}

.category_wrap .img_wrap {
    display: flex;
    overflow: hidden;
}

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

.img_wrap .none_img {
    font-size: 16px;
}

.category_wrap>li {
    width: 100%;
}

.category_wrap>li:not(:last-child) {
    margin-bottom: 20px !important;
}

/* .category_wrap:not(.has_mb)>li:not(.pr_wrap) {
    margin-bottom: 20px;
}

.category_wrap:not(.has_mb)>li:last-child {
    margin-bottom: 0;
} */

.category_wrap .pr_wrap.arr_1,
.category_wrap .pr_wrap.no_image {
    width: calc(100% + 32px);
    margin: 0 -16px;
    border: 1px solid var(--main-color);
}

/* 1배열 그룹은 사이 여백 없음 */
.category_wrap .pr_wrap.arr_1+.pr_wrap.arr_1,
.category_wrap .pr_wrap.arr_1+.pr_wrap.no_image,
.category_wrap .pr_wrap.no_image+.pr_wrap.arr_1,
.category_wrap .pr_wrap.no_image+.pr_wrap.no_image {
    margin-top: -20px;
}

.category_wrap .pr_wrap.arr_2 {
    width: calc((100% - 8px) / 2);
}

.category_wrap .pr_wrap.arr_3 {
    width: calc((100% - 16px) / 3);
}

.category_wrap .pr_wrap.b_bottom {
    padding-bottom: 6px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 6px;
}

.category_wrap .pr_item {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 4px 8px;
}

.category_wrap .pr_wrap.b_right {
    padding-right: 8px;
    border-right: 1px solid #e8e8e8;
}

.category_wrap .pr_wrap.arr_1 .pr_item,
.category_wrap .pr_wrap.no_image .pr_item {
    flex-direction: row;
    padding: 6px 16px;
    align-items: center;
}

.category_wrap .pr_item .product_badge {
    /* position: absolute; */
    display: flex;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    top: 8px;
    left: 8px;
    z-index: 3;
    width: fit-content;
}

.category_wrap .pr_wrap .product_badge.top_name {
    display: none;
}

.category_wrap .pr_wrap.arr_1 .product_badge.top_name {
    display: flex;
}

.category_wrap .pr_wrap.arr_1 .product_badge.bottom_price {
    display: none;
}

.category_wrap .pr_item .item_top {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.category_wrap .pr_wrap.arr_1 .pr_item .item_top {
    width: 109px;
    flex-shrink: 0;
}

.category_wrap .pr_item .img_wrap {
    border-radius: 14px;
    aspect-ratio: 1/1;
    border: 2px solid #e8e8e8;
}

.category_wrap .pr_item .cart_btn {
    width: 100%;
    padding: 5px 0;
    font-size: 15px;
    font-weight: 400;
    gap: 4px;
}

.category_wrap .pr_item .cart_btn::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url(/static/app_www/base/img/icon_cart_main.png) no-repeat center/contain;
}

.category_wrap .pr_item .cart_min_btn {
    display: none;
}

.category_wrap .pr_item .cart_full_btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: #fff;
    z-index: 2;
    padding: 8px;
    width: fit-content;
    border-radius: 50%;
    border: none;
    box-shadow: 0px 4px 4px 0px #0000001A;

}

.category_wrap .pr_wrap.arr_3 .cart_full_btn {
    padding: 5px;
}

.category_wrap .pr_wrap.arr_3 .cart_full_btn::before {
    width: 22px;
    height: 22px;
}

.category_wrap .pr_wrap.arr_1 .pr_item .cart_full_btn {
    display: none;
}

.category_wrap .pr_wrap.arr_1 .pr_item .cart_min_btn,
.category_wrap .pr_wrap.no_image .pr_item .cart_min_btn {
    display: flex;
    padding: 4px 4px 4px 2px;
    width: 44px;
    aspect-ratio: 1/1;
}

.category_wrap .pr_wrap.arr_1 .pr_item .cart_min_btn::before,
.category_wrap .pr_wrap.no_image .pr_item .cart_min_btn::before {
    width: 100%;
    height: 100%;
}

.category_wrap .pr_item .desc_wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category_wrap .pr_wrap:not(.arr_1) .pr_item .desc_wrap {
    padding: 0 8px;
}

.category_wrap .pr_wrap.arr_1 .pr_item .desc_wrap {
    margin-top: 0;
    justify-content: center;
    width: calc(100% - 117px);
}

.category_wrap .pr_wrap.arr_1 .pr_item .desc_box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.category_wrap .pr_item .info_wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.category_wrap .pr_item .product_tit {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
}

.category_wrap .pr_item .product_standard,
.category_wrap .pr_wrap.no_image .product_origin {
    font-size: 14px;
    font-weight: 400;
    color: #222222;
}


.category_wrap .pr_item .price_sale {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px;
}

.category_wrap .pr_item .sale_per {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color);
}

.category_wrap .pr_item .product_price {
    font-size: 17px;
    font-weight: 700;
    color: red;
}

.category_wrap .pr_item .product_price.error {
    color: var(--error-color);
}

.category_wrap .pr_item .product_price.sale {
    font-size: 16px;
    font-weight: 400;
    color: #BBB;
    text-decoration: line-through;
}

.category_wrap .pr_wrap.no_image .pr_item {
    padding: 12px 16px;
}

.category_wrap .pr_wrap.no_image .item_info_wrap {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(100% - 52px);
}


.category_wrap .pr_wrap.no_image .item_info {
    max-width: calc(100% - 107px);
}


.category_wrap .pr_wrap.no_image .desc_wrap.item_price {
    flex-grow: 0;
    text-align: right;
}

.category_wrap .pr_wrap.no_image .product_tit {
    font-size: 17px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    white-space: initial;
}

.category_wrap .pr_wrap.no_image .item_subinfo {
    display: flex;
    align-items: center;
    gap: 0 16px;
}

.category_wrap .pr_wrap.no_image .product_price {
    font-size: 20px;
}

.category_wrap .pr_wrap.no_image .price_sale {
    justify-content: flex-end;
}

.category_wrap .pr_wrap.no_image .cart_min_btn {
    flex-shrink: 0;
}

.category_wrap .text_item {
    border: 1px solid #222;
    padding: 16px 10px;
}

.category_wrap .banner_item {
    width: calc(100% + 32px);
    margin: 0 -16px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.category_wrap .banner_item.banner01 {
    aspect-ratio: 1/0.346666667;
}

.category_wrap .banner_item.banner02 {
    aspect-ratio: 1/0.349854227;
}

.category_wrap .banner_item.video_wrap {
    height: 274px;
}

.category_wrap .banner_item img {
    object-fit: contain;
}

.category_wrap .banner_item iframe {
    width: 100%;
    height: 100%;
}

.banner_item .display_text {
    font-size: 40px;
    font-weight: 700;
}

.search_count_wrap {
    padding: 4px 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search_count_wrap p {
    font-size: 16px;
    font-weight: 400;
    color: #222;
}

.search_count_wrap p span {
    color: var(--main-color);
}

.search_count_wrap .reset_btn {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 10px;
}

.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);
}

/* 맨 위로 버튼 */
#btn_up {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 70px;
    height: 70px;
    background-color: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99;
    color: #fff;
    gap: 2px 0;
    cursor: pointer;
}

@media screen and (min-width: 600px) {
    #btn_up {
        right: calc((100vw - 600px) / 2 + 20px);
    }
}

#btn_up>i {
    font-size: 18px;
    height: 17px;
}

#btn_up>span {
    font-size: 14px;
}

/* 하단 장바구니 안내 바 */
.guide_cart_wrap {
    position: fixed;
    left: 50%;
    bottom: 52px;
    width: 100%;
    max-width: 600px;
    transform: translateX(-50%);
    background-color: var(--main-color);
    padding: 18px 12px;
    z-index: 99;
    color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.guide_cart_wrap.no_footer {
    bottom: 0;
}

.guide_cart_wrap .guide_cart {
    border-radius: inherit;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 8px;
}

.guide_cart_wrap .guide_cart .cart_count {
    padding: 4px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--main-color);
    width: 34px;
    text-align: center;
}

.category_nav_wrap {
    overflow-x: auto;
    position: sticky;
    top: 46px;
    z-index: 100;
    background-color: #fff;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #d9d9d9;
}

.category_nav_wrap::-webkit-scrollbar {
    scrollbar-width: none;
}

.category_nav_list {
    display: flex;
    gap: 8px;
    padding: 0 12px;
    width: max-content;
}

.category_nav_list .category_nav {
    background-color: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #222;
    border-radius: 6px;
    border: 1px solid #222;
    padding: 6px 10px;
}

.category_nav_list .category_nav.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    font-weight: 700;
}