/* BASIC css start */
#contentWrapper{overflow:hidden;/*background:#efedea;*/}
#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: "Noto Serif KR", 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 .display_badge{
    display:inline-block !important;
    margin-left:2px !important;
    padding:4px 7px 5px !important;
    background:#e09928 !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;
}

.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 20px !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;
}

    /* 카테고리 버튼 */
    .cate-wrap .mcate{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px 8px;
        padding:20px 12px;
        margin:0;
        max-height:95px;
        overflow:hidden;
        transition:max-height 0.3s ease;
        position:relative;
    }

    /* 아래 블러 느낌 */
    .cate-wrap .mcate:after{
        content:'';
        position:absolute;
        left:0;
        right:0;
        bottom:0;
        height:45px;
        background:linear-gradient(to bottom, rgba(239,237,234,0), #efedea);
        pointer-events:none;
    }

    /* 펼쳤을 때 */
    .cate-wrap .mcate.open{
        max-height:800px;
    }

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

    .cate-wrap .mcate li{
        display:inline-block;
        margin:0;
    }

    .cate-wrap .mcate li a{
        display:block;
        padding:10px 15px;
        background:#fff;
        border-radius:999px;
        color:#777;
        font-size:14px;
        line-height:20px;
        letter-spacing:-1px;
        text-align:center;
    }
    .cate-wrap .mcate li.active a{
    background:#b9633d;
    color:#fff;
}

    /* 버튼 */
    .cate_more_btn{
        display:block;
        width:140px;
        margin:22px auto 35px;
        padding:12px 0;
        background:#b9633d;
        color:#fff !important;
        border-radius:999px;
        font-size:14px;
        text-align:center;
    }
}
/* BASIC css end */

