/* BASIC css start */
@media (max-width:768px){

    #contentWrapper{
        overflow:visible;
    }

}
#content{width:100% !important;}

.subcategory_area{padding:60px 0;background:url("//dainpark06.cafe24.com/sunny/images/subbg_subcategory.jpg") no-repeat 0 0;background-size:cover;}
.subcategory_box{min-width:1300px;max-width:1600px;margin:0 auto;}
.subcategory_box ul{font-size:0;letter-spacing:-5px;overflow:hidden;margin:0 0 0 -3%;}
.subcategory_box li{position:relative;font-size:12px;letter-spacing:0;display:inline-block;vertical-align:top;*display:inline;zoom:1;width:22%;margin:0 0 0 3%;overflow:hidden;}
.subcategory_box li a{display:block;}

.subcategory_box .img_box{position:relative;overflow:hidden;}
.subcategory_box .bg{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0);
transition: all 0.6s ease-in-out;
-ms-transition: all 0.6s ease-in-out;
-moz-transition: all 0.6s ease-in-out;
-webkit-transition: all 0.6s ease-in-out;
z-index:2;}
.subcategory_box li:hover .bg{
background:rgba(0,0,0,.2);
transition: all 0.6s ease-in-out;
-ms-transition: all 0.6s ease-in-out;
-moz-transition: all 0.6s ease-in-out;
-webkit-transition: all 0.6s ease-in-out;}

.subcategory_box .img{position:relative;overflow:hidden;z-index:1;}
.subcategory_box .img img{
width:100%;
transform: scale(1);
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transition: all 0.6s ease-in-out;
-ms-transition: all 0.6s ease-in-out;
-moz-transition: all 0.6s ease-in-out;
-webkit-transition: all 0.6s ease-in-out;
z-index:1;
}
.subcategory_box li:hover .img img{
transform: scale(1.02);
-webkit-transform: scale(1.02);
-moz-transform: scale(1.02);
-ms-transform: scale(1.02);
-o-transform: scale(1.02);
transition: all 0.6s ease-in-out;
-ms-transition: all 0.6s ease-in-out;
-moz-transition: all 0.6s ease-in-out;
-webkit-transition: all 0.6s ease-in-out;
}
.subcategory_box .txt{position:absolute;left:0;top:50%;width:100%;transform:translateY(-50%);text-align:center;font-family: 'Pretendard', sans-serif;color:rgba(195,182,171,.8);font-size:15px;line-height:20px;letter-spacing:-2px;z-index:2;}
.subcategory_box .text{text-align:center; margin-top:18px;}
.subcategory_box .text span{position:relative;display:inline-block;color:#fff;font-size:15px;line-height:24px;letter-spacing:-1px;}
.subcategory_box .text span::after{content:'';position:absolute;bottom:0;left:0;height:1px;width:0;background:#fff;transition: all 0.3s ease-in-out;}
.subcategory_box li:hover .text span::after{width:100%;transition: all 0.3s ease-in-out;}

/* ===== 서브카테고리 가로 스크롤 ===== */
@media (max-width: 768px) {

    .subcategory_box {
        min-width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .subcategory_box ul {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        margin: 0;
        padding-bottom: 10px;

        -webkit-overflow-scrolling: touch;
    }

    .subcategory_box li {
        flex: 0 0 70%; /* +P 카드 크기 (중요) */
        margin: 0;
    }

    .subcategory_box img {
        width: 100%;
        height: auto;
    }

    /* 스크롤바 숨김 */
    .subcategory_box ul::-webkit-scrollbar {
        display: none;
    }
}

.price_box .coupon_badge{
    display:inline-block !important;
    margin-left:2px !important;
    padding:4px 7px 5px !important;
    background:#b9633d !important;
    color:#fff !important;
    font-size:11px !important;
    line-height:11px !important;
    font-weight:500 !important;
    letter-spacing:-0.2px !important;
    vertical-align:middle !important;
    border-radius:3px !important;
}

.price_box .cutoff_badge{
    display:inline-block !important;
    margin-left:2px !important;
    padding:4px 7px 5px !important;
    background:#7ba637 !important;
    color:#fff !important;
    font-size:11px !important;
    line-height:11px !important;
    font-weight:500 !important;
    letter-spacing:-0.2px !important;
    vertical-align:middle !important;
    border-radius:3px !important;
}

.price_box .limited_badge{
    background:#cd3f3b !important;
}

.category_titlehtml img{width:100%;}


/*#contentWrap {margin-top:203px;}
#content {padding-top:0;}
#prdBrand {    margin-top: -203px;
    padding-top: 303px;}*/
.title img{ width:100%;}
.item-cont .item-list .prd-price{font-size:15px; color:#aa6868; font-weight:bold; float:left; padding-top:10px}

.cate-wrap {overflow:hidden;padding-top:100px;margin-bottom: 50px;}
.cate-wrap h2 {font-size: 26px;
    line-height: 30px;
    letter-spacing: -1px;
    font-weight: 300; 
}


.cate-wrap .navi {text-align:center;}
.cate-wrap .navi span{padding:0 10px;}
.cate-wrap .navi ul {}
.cate-wrap .navi ul li {display: inline-block; }
.cate-wrap .navi ul li a {color: #201f1e;
    font-family: 'Pretendard'; font-size: 20px;
    line-height: 30px;
    letter-spacing: -1px;
    font-weight: 450;
}
.shopbrandTitle{
    width:100%;
    overflow:hidden;
}

.shopbrandTitle img{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    display:block;
}

@media (max-width:768px){

    .cate-wrap{
        padding-top:40px !important;
        margin-bottom:30px !important;
        text-align:center;
        position:relative;
    }

    .item-info{
        position:relative;
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:0 15px !important;
        margin-bottom:20px;
        box-sizing:border-box;
    }

/* 정렬 버튼 */
.typelist_box{
    position:relative;
}

#type_text{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border-radius:999px;
    background:#f5f3ef;
    font-size:14px;
    line-height:18px;
    color:#201f1e;
    border:0;
}

#type{
    display:none;
    position:absolute;
    left:0;
    top:48px;
    width:190px;
    padding:14px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    z-index:20;
    box-sizing:border-box;
}

.typelist_box:hover #type,
#type.active{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

#type li{
    margin:0;
}

#type li a{
    display:block;
    padding:9px 14px;
    border-radius:999px;
    background:#f5f3ef;
    color:#666;
    font-size:13px;
    line-height:18px;
}

#type li a.sort{
    background:#b9633d;
    color:#fff;
}
.list_arrayRight{
    display:flex !important;
    align-items:center;
    gap:10px;
}

.list_arrayRight a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:10px;
    background:#f5f3ef;
}

/* 기존 이미지 숨김 */
.list_arrayRight img{
    display:none !important;
}

/* 2단 리스트형 */
.list_arrayRight a:first-child:before{
    content:'';
    width:16px;
    height:16px;
    background:
    linear-gradient(#b8b1a7,#b8b1a7) 0 0/6px 6px no-repeat,
    linear-gradient(#b8b1a7,#b8b1a7) 10px 0/6px 6px no-repeat,
    linear-gradient(#b8b1a7,#b8b1a7) 0 10px/6px 6px no-repeat,
    linear-gradient(#b8b1a7,#b8b1a7) 10px 10px/6px 6px no-repeat;
}

/* 3단 갤러리형 */
.list_arrayRight a:last-child:before{
    content:'';
    width:18px;
    height:18px;
    background:
    linear-gradient(#201f1e,#201f1e) 0 0/4px 4px no-repeat,
    linear-gradient(#201f1e,#201f1e) 7px 0/4px 4px no-repeat,
    linear-gradient(#201f1e,#201f1e) 14px 0/4px 4px no-repeat,

    linear-gradient(#201f1e,#201f1e) 0 7px/4px 4px no-repeat,
    linear-gradient(#201f1e,#201f1e) 7px 7px/4px 4px no-repeat,
    linear-gradient(#201f1e,#201f1e) 14px 7px/4px 4px no-repeat,

    linear-gradient(#201f1e,#201f1e) 0 14px/4px 4px no-repeat,
    linear-gradient(#201f1e,#201f1e) 7px 14px/4px 4px no-repeat,
    linear-gradient(#201f1e,#201f1e) 14px 14px/4px 4px no-repeat;
}

/* ==================================================
   MOBILE CATEGORY - REFINED
================================================== */

.cate-wrap{
    padding-top:38px !important;
    margin-bottom:34px !important;
    text-align:center;
}


/* 상단 현재 카테고리 제목 */
.cate-wrap .navi{
    margin-bottom:22px;
}

.cate-wrap .navi ul{
    margin:0;
    padding:0;
}

.cate-wrap .navi ul li{
    display:inline-block;
}

.cate-wrap .navi ul li a{
    font-family:'Pretendard', sans-serif;
    font-size:20px;
    line-height:1.3;
    font-weight:600;
    color:#201f1e;
    letter-spacing:-0.7px;
}


/* 카테고리 목록 */
.cate-wrap .mcate{
    position:relative;

    display:flex;
    flex-wrap:wrap;
    justify-content:center;

    gap:8px;

    max-height:88px;

    margin:0;
    padding:0 18px 22px;

    overflow:hidden;

    transition:max-height .4s ease;

    box-sizing:border-box;
}


/* 카테고리 아이템 */
.cate-wrap .mcate li{
    display:block;
    margin:0;
    padding:0;
}


/* 기본 카테고리 */
.cate-wrap .mcate li a{
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:34px;
    padding:0 14px;

    background:#f5f5f5;

    border:1px solid transparent;
    border-radius:999px;

    color:#8a8682;

    font-family:'Pretendard', sans-serif;
    font-size:13px;
    line-height:1;
    font-weight:450;
    letter-spacing:-0.5px;

    box-sizing:border-box;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


/* 눌렀을 때 */
.cate-wrap .mcate li a:active{
    transform:scale(.96);
}


/* 현재 카테고리 */
.cate-wrap .mcate li.active a{
    background:#f1f0ee;
    border-color:#e6e2dd;
    color:#201f1e;
    font-weight:600;
    box-shadow:0 3px 10px rgba(0,0,0,.06);
}


/* 접힌 상태 아래 페이드 */
.cate-wrap .mcate:not(.open)::after{
    content:'';

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:38px;

    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,.96) 70%,
        #fff 100%
    );

    pointer-events:none;
}


/* 펼침 */
.cate-wrap .mcate.open{
    max-height:600px;
    padding-bottom:8px;
}

.cate-wrap .mcate.open::after{
    display:none;
}


/* 카테고리 전체보기 */
.cate_more_btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:auto;
    margin:14px auto 0;
    padding:9px 14px;

    background:#fff;
    color:#7b746e !important;

    border:1px solid #e8e4df;
    border-radius:999px;

    font-family:'Pretendard', sans-serif;
    font-size:12px;
    line-height:1;
    font-weight:500;
    letter-spacing:-0.4px;

    box-shadow:0 3px 10px rgba(0,0,0,.04);
}

.cate_more_btn::after{
    content:'';
    display:inline-block;

    width:6px;
    height:6px;

    margin-left:8px;
    margin-top:-3px;

    border-right:1px solid #8a8179;
    border-bottom:1px solid #8a8179;

    transform:rotate(45deg);
    transition:transform .25s ease;
}

/* 펼쳤을 때 위쪽 화살표 */
.cate-wrap .mcate.open + .cate_more_btn::after{
    margin-top:3px;
    transform:rotate(225deg);
}

@media (max-width:768px){

    /* =========================================
       PRODUCT LIST
       메인과 좌우 15px 통일
    ========================================= */

    #mobileProductList > ul{
        display:flex;
        flex-wrap:wrap;

        width:calc(100% - 30px);
        margin:0 15px;
        padding:0;

        box-sizing:border-box;
    }


    /* 기본 2단 */
    #mobileProductList > ul > li{
        display:block;

        width:50%;
        margin:0;

        box-sizing:border-box;
    }


    /* 왼쪽 상품 */
    #mobileProductList > ul > li:nth-child(odd){
        padding:0 5px 28px 0;
    }


    /* 오른쪽 상품 */
    #mobileProductList > ul > li:nth-child(even){
        padding:0 0 28px 5px;
    }


    /* =========================================
       3단 보기
    ========================================= */

    #mobileProductList.grid3 > ul > li{
        width:33.333%;
        padding:0 4px 24px;
    }

    #mobileProductList.grid3 > ul > li:nth-child(3n+1){
        padding-left:0;
        padding-right:5px;
    }

    #mobileProductList.grid3 > ul > li:nth-child(3n+2){
        padding-left:2.5px;
        padding-right:2.5px;
    }

    #mobileProductList.grid3 > ul > li:nth-child(3n){
        padding-left:5px;
        padding-right:0;
    }
    .mproduct_box .box{
        display:block;
        width:100%;
    }

    .mproduct_box .img_box{
        width:100%;
        overflow:hidden;
    }

    .mproduct_box .img{
        width:100%;
    }

    .mproduct_box .img img{
        display:block;
        width:100%;
        height:auto;
    }

    .mproduct_box .info_box{
        width:100%;
        box-sizing:border-box;
    }

    /* 2단/3단 버튼 활성 */
    .list_arrayRight a.view2.active:before{
        opacity:1;
    }

    .list_arrayRight a.view3.active:before{
        opacity:1;
    }

}

/* ==================================================
   COMMON MOBILE VIEW MORE
   메인 모바일 VIEW MORE 디자인으로 통일
================================================== */

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

    /* 전제품 페이지 MORE 영역 */
    .more{
        width:100% !important;
        height:auto !important;

        margin:0 !important;
        padding:0 !important;

        text-align:center !important;
        box-sizing:border-box !important;
    }


    /* 메인 / 전제품 VIEW MORE 공통 */
    .more .btn_mainmore,
    .more_box .btn_mainmore{
        position:relative !important;

        display:flex !important;
        align-items:center !important;

        width:175px !important;
        height:47px !important;

        margin:32px auto 0 !important;

        padding:0 45px 0 18px !important;

        border:1px solid #777 !important;
        border-radius:0 !important;

        background:#fff !important;
        background-image:none !important;

        box-shadow:none !important;

        font-family:'Pretendard', sans-serif !important;
        font-size:11px !important;
        line-height:1 !important;
        font-weight:700 !important;

        color:#111 !important;

        letter-spacing:0 !important;
        text-align:left !important;
        text-transform:uppercase !important;

        box-sizing:border-box !important;
    }


    /* 전제품 기존 이미지 화살표 숨김 */
    .more .btn_mainmore .ico_arrowdown img{
        display:none !important;
    }


    /* 메인 + 전제품 화살표 영역 */
    .more .btn_mainmore .ico_arrowdown,
    .more_box .btn_mainmore .ico_arrowdown{
        position:absolute !important;

        top:50% !important;
        right:18px !important;

        display:block !important;

        width:9px !important;
        height:9px !important;

        margin:0 !important;
        padding:0 !important;

        background:none !important;
        border:0 !important;

        transform:translateY(-65%) rotate(45deg) !important;

        box-sizing:border-box !important;
    }


    /* V 화살표 */
    .more .btn_mainmore .ico_arrowdown::before,
    .more_box .btn_mainmore .ico_arrowdown::before{
        content:"" !important;

        position:absolute !important;

        top:0 !important;
        left:0 !important;

        display:block !important;

        width:7px !important;
        height:7px !important;

        border:0 !important;
        border-right:1px solid #222 !important;
        border-bottom:1px solid #222 !important;

        background:none !important;
    }


    /* 다른 가상요소 제거 */
    .more .btn_mainmore::before,
    .more .btn_mainmore::after{
        content:none !important;
        display:none !important;
    }

}
/* BASIC css end */

