/* =============================
   공통영역 리사이징용 소스입니다.
   디자인에 맞게 커스텀 가능합니다.
============================= */



@media (max-width: 1820px) {
    /* 하단 */
    .fixedBtn {
        right: 15px;
    }
}
	

@media (max-width: 1250px) {


    /* 상단 */

	#header .gnb {
		width:100%;
	}

	#header .header_gnb .top_menu {
		font-size:0;
	}

	#header .header_gnb .top_menu li.prd_list {
		width:100%;
		min-width:250px;
		text-align:left;
		margin:0;
	}

	#header .header_gnb .top_menu > li {
		display:inline-block;
		vertical-align:top;
/*		width:10%;*/	
		margin:0 20px;
	}

	#header .header_gnb .top_menu li a {
		padding: 0px;
		font-size: 13px;
	}

    #header .login_btn a {
        font-size: 13px;
    }

    #header.scroll .login_btn {
        margin: 0;
    }

    #header .login_btn > span {
        gap: 0 10px;
    }

    #header .headBottom {
        width: calc(100% - 40px);
        padding:0 20px;
    }

	.head_top {
		width:auto;
		padding:14px 16px;
		box-sizing:border-box;
	}
    
    .header_top_cont,
	#header .header_top_cont{
        width: 100%;
    }

	#header .header_search{
		padding: 0 12px;
	}

	#header.scroll .header_search_cont.moSearch {
        display: block;
        margin: 0 0 0 auto;
        padding: 0;
        min-height: inherit;
	}

    #header.scroll .search_icon {
        display: block;
    }

    #header.scroll .search_icon img {
        width: 30px;
        height: 30px;
    }

    #header.scroll .search_icon img:nth-child(1) {
        display: block;
    }
    #header.scroll .search_icon img:nth-child(2) {
        display: none;
    }

    #header.scroll .search_icon.on img:nth-child(1) {
        display: none;
    }

    #header.scroll .search_icon.on img:nth-child(2) {
        display: block;
    }

    #header.scroll .header_search_cont.pcSearch,
    #header.scroll .header_search_cont.moSearch .sch_box {
        display: none;
    }

	#header .gnb_menu_box {
		margin-left: 0;
	    width: 100%;
	}

    #header .gnb .depth0 > li:first-child {
        margin: 0;
    }
	
	#header .gnb .depth0 > li{
		margin: 0 20px;
	}

	#header .gnb .depth0 > li a,
    #header.scroll .gnb .depth0 > li > a{
		padding: 0px;
		font-size: 15px;
	}

	#header .search_open {
		width:18px;
		height:18px;
	}

	#header .header_search .login_btn img {
		width:18px;
		height:18px;	
	}

	#header .header_search .cart_btn img {
		width:18px;
		height:18px;
	}


	/* 하단 */
    #footer_wrap .footer.cut_layout {
        padding: 60px 0;
        margin: 0 30px;
    }

}

@media (max-width: 1040px) {
    #footer_wrap .foot {
        flex-wrap: wrap;
    }

    #footer_wrap .foot .footLogo {
        order: 1;
        margin: auto 0;
    }

    #footer_wrap .foot .csWrap {
        order: 2;
        margin: 0;
    }
    #footer_wrap .foot .foot_mid {
        order: 3;
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 975px) {
    #header.scroll .header_search_cont.pcSearch,
    #header.scroll .header_search_cont.moSearch .sch_box {
        display: none;
    }

    #header.scroll .header_search_cont.moSearch img {
        width: 26px;
        height: 26px;
    }

    #header.scroll .gnb .depth0 > li {
        margin: 0 10px;
    }

    /* header 스크롤 전 */
    #header .gnb .depth0 > li {
        margin: 0 10px;
    }
}

@media (max-width: 950px) {

	.pc_con {
		display:none !important;
	}

	.mo_con {
		display:block !important;
	}



    /* 상단 */
    #header .header_search_cont.pcSearch {
        display: none;
    }

	#header .h1_logo,
    #header.scroll .h1_logo{
	    width: 131px;
		margin: 0;
        padding: 0;
	}
	
	#header .h1_logo a{
		display: block;
	}

    #header.scroll .h1_logo img {
        width: auto;
    }

	#header .h1_logo img{
		width: 100%;
        height: 100%;
	}

    #header .h1_logo > a:first-child {
        display: none;
    }

    #header .h1_logo > a:nth-of-type(2) {
        display: block;
    }

    #header .head_top {
        height: 60px;
        padding: 18px 15px;
    }
    #header .head_top .top_logo img {height:95px;}
    
    #header.scroll .head_top .top_menu,
    .content_info_wrap,
	.scroll_wrap{
        display: none;
    }  

	#header .header_search{
		position: absolute;
		padding: 0px;
		width:100%;
		top:40%;
	}

	#header .top_search{
		position: fixed;
		top: 60px;
        left: 0;
		width: 100%;
        border: none;
	}

	#header .top_search.on{
		display: block;
	}

	#header .top_search .search_cont{
		position: absolute;
		width: calc(100% - 20px);
		width: -khtml-calc(100% - 20px);
		width: -moz-calc(100% - 20px);
		width: -ms-calc(100% - 20px);
		width: -o-calc(100% - 20px);
	}

	#header .top_search .top_text_cont .top_srarch_text{
	    border: none;
		width: 90%;
		text-indent: 10px;
	}

	#header.fix{
		position: fixed;
		top: 0;
		width: 100%;
		background: rgba(255,255,255,0.8);
		z-index: 99;
	}

	#header .header_gnb .top_menu li a {
		line-height:66px;
	}
     
	#header .gnb .depth0 > li > a {
		line-height:66px;
	}

	#header .header_search .login_btn {
		display:none;
	} 

	#header .search_open {
		top:0;
		right:45px;
	}

	#header .header_search .cart_btn {
		position:absolute;
		right:20px;
		top:0;
		margin-top:0;
	}

	#header .header_search .cart_btn.mo_con img {
		width:20px;
		height:25px;
		margin-top:-5px;
	}

	#header .header_search .cart_btn.mo_con span {
		position:absolute;
		font-size:9px;
		color:#323232;
		left: 0;
		text-align: center;
		width: 100%;
		height:100%;
		line-height:20px;
    }

    .mobile-slide-banner .slick-slide img{
        width: 100%;
    }



    #header .login_btn,
    .header_top,
    .header_gnb{
        display: none;
    }

    #header .m-side,
    #header .search_open{
        position: absolute;
        top: 50%;
        left: 20px;
        margin-top: 0;
    }

    #header .m-side img{
        height: 16px;
    }

    #header .search_open {
        right: 60px;
        left: auto;
        background-image: url('../../wib/img/icon/m_icon_sch.png') ;
        margin-top:0;
        background-color:rgba(255,255,255,0) !important;
    }

    #header .h1_logo {
        display:block;
        z-index:10;
    }    

    #header .header_search_cont.moSearch {
        display: block;
        margin: 0 0 0 auto;
        padding: 0;
        min-height: inherit;
        position: relative;
    }

    #header .header_search_cont.moSearch .sch_box {
        display: none;
        position: relative;
    }

    #header .search_icon {
        display: block;
    }

    #header .search_icon img:nth-child(1) {
        display: block;
    }
    #header .search_icon img:nth-child(2) {
        display: none;
    }

    #header .search_icon.on img:nth-child(1) {
        display: none;
    }

    #header .search_icon.on img:nth-child(2) {
        display: block;
    }




    #header .top_search .top_text_cont {
        width: calc(100% - 30px);
        border-radius: 95px;
        overflow: hidden;
        margin: 0 15px 10px;
        border: 1px solid var(--point01);
    }

	/* 사이드 메뉴 (햄버거메뉴) */
    .m-side, .aside, .btn-side-close {
        display: block;
    }

	a.btn-side-close {
		position: fixed;
		top: 18px;
		right: 15px;
		display: block;
		z-index: 101;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		opacity: 0;
		visibility: hidden;
		background:none;
	}

	a.btn-side-close.on {
		opacity: 1;
		visibility: visible;
	}

	a.btn-side-close span {
		position: absolute;
		display: block;
		width: 12px;
		height: 1px;
		background: #4c4c4c;
		left: 50%;
		top: 22px;
		margin-left: -12.5px;
	}

	a.btn-side-close span:nth-of-type(1) {
		-webkit-animation: x-one-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-moz-animation: x-one-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-ms-animation: x-one-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		animation: x-one-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
	}

	a.btn-side-close span:nth-of-type(2) {
		-webkit-animation: x-two-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-moz-animation: x-two-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-ms-animation: x-two-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		animation: x-two-reset .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
	}

	a.btn-side-close.on span:nth-of-type(1) {
		-webkit-animation-delay: .5s !important;
		-moz-animation-delay: .5s !important;
		animation-delay: .5s !important;    
		-webkit-animation: x-one .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-moz-animation: x-one .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-ms-animation: x-one .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		animation: x-one .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
	}

	a.btn-side-close.on span:nth-of-type(2) {
		-webkit-animation-delay: .5s !important;
		-moz-animation-delay: .5s !important;
		animation-delay: .5s !important;    
		-webkit-animation: x-two .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-moz-animation: x-two .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		-ms-animation: x-two .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
		animation: x-two .4s cubic-bezier(0.165, 0.84, 0.44, 1) both;
	}

	@keyframes x-one {
		0% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			-ms-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		100% {
			-webkit-transform: rotate(45deg);
			-moz-transform: rotate(45deg);
			-ms-transform: rotate(45deg);
			transform: rotate(45deg);
		}
	}

	@keyframes x-two {
		0% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			-ms-transform: rotate(0deg);
			transform: rotate(0deg);
		}
		100% {
			-webkit-transform: rotate(-45deg);
			-moz-transform: rotate(-45deg);
			-ms-transform: rotate(-45deg);
			transform: rotate(-45deg);
		}
	}

	@keyframes x-one-reset {
		0% {
			-webkit-transform: rotate(45deg);
			-moz-transform: rotate(45deg);
			-ms-transform: rotate(45deg);
			transform: rotate(45deg);        
		}
		100% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			-ms-transform: rotate(0deg);
			transform: rotate(0deg);        
		}
	}

	@keyframes x-two-reset {
		0% {
			-webkit-transform: rotate(-45deg);
			-moz-transform: rotate(-45deg);
			-ms-transform: rotate(-45deg);
			transform: rotate(-45deg);        
		}
		100% {
			-webkit-transform: rotate(0deg);
			-moz-transform: rotate(0deg);
			-ms-transform: rotate(0deg);
			transform: rotate(0deg);        
		}
	}

	.aside {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff;
		z-index: 101;
		-webkit-transform: translateX(-100%);
		-moz-transform: translateX(-100%);
		-ms-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	.aside.on {
		-webkit-transform: translateX(0%);
		-moz-transform: translateX(0%);
		-ms-transform: translateX(0%);
		transform: translateX(0%);    
	}

	.aside .aside-inner {
		position: relative;
		height: 100%;
		-webkit-overflow-scrolling:touch;
	}

	.aside .aside-logo {
		width: 110px;
		margin: 20px auto 15px;
	}

	.aside .aside-logo img {
		width: 100%;
		height: auto;
		margin: 0 auto;
	}

	.aside .aside-caption {
		margin: 20px 0;
		word-break: keep-all;
	}

	.aside .aside-login div {
		padding:18px 15px;
        box-sizing: border-box;
		text-align:left;
        background: var(--gray02);
        color: var(--gray01);
        width: 100%;
	}

	.aside .aside-login a {
		font-size:14px;
		color:var(--block);
        letter-spacing: -0.42px;
        text-decoration-line: underline;
        font-weight: 400;
	}

    .aside .aside-login a.point03 {
        color: var(--point03);
        font-weight: 500;
    }

	.aside .aside-login > a .mo_join_be {
		width:40px;
		height:18px;
		border-radius:10px;
		background:#617663;
		margin-left:5px;
		text-align:center;
		display:inline-block;
		color:#fff;
	}

	.aside .aside-login > a.first {
		margin-right:30px;
		position:relative;
	} 
	
	.aside .aside-login > a.first:before {
		content:'';
		display:inline-block;
		border-right:1px solid #b6b6b6;
		height:8px;
		position:absolute;
		right:-15px;
		top:3px;
	}

	.aside .aside-quick {
		margin: 15px 0px 15px;
	}

	.aside .aside-quick ul {
		border: 1px solid #e2e2e2;
	}

	.aside .aside-quick li {
		width: 33.333%;
		position: relative;
	}

	.aside .aside-quick li:after {
		content: "";
		display: block;
		width: 1px;
		height: 100%;
		background: #e2e2e2;
		position: absolute;
		top: 0;
		right: 0;
	}

	.aside .aside-quick li:last-child:after {
		display: none;
	}

	.aside .aside-quick li a {
		display: block;
		font-size: 12px;
		color: #333232;
		padding: 49px 0px 18px;
	}

	.aside .aside-quick li.order a {
		background: url(../img/icon/icon-truck.png) no-repeat center 21px;
		background-size: 29px auto;
	}

	.aside .aside-quick li.today a {
		background: url(../img/icon/icon-basket.png) no-repeat center 21px;
		background-size: 25px auto;
	}

	.aside .aside-quick li.wish a {
		background: url(../img/icon/icon-wish.png) no-repeat center 21px;
		background-size: 23px auto;
	}
/* 
    .aside .tab-category {
        overflow-y: auto;
        height: 100vh;
    } */

	.aside .tab-category .tab-menu li {
		width: 33.333%;
		position: relative;
		box-sizing: border-box;
		border-top: 1px solid #dbdbdb;
		border-left: 1px solid #dbdbdb;
	}

	.aside .tab-category .tab-menu li:before {
		content: "";
		display: block;
		width: 1px;
		height: 100%;
		background: #dbdbdb;
		position: absolute;
		top: 0;
		right: -1px;
	}

	.aside .tab-category .tab-menu li:last-child:before {
		right: 0;
	}

	.aside .tab-category .tab-menu li:after {
		content: "";
		display: block;
		width: 100%;
		height: 1px;
		background: #dbdbdb;
		position: absolute;
		bottom: 0;
		left: 0;
	}

	.aside .tab-category .tab-menu li.on:after {
		bottom: -1px;
		background: #fff;
	}

	.aside .tab-category .tab-menu li a {
		display: block;
		line-height: 35px;
		font-size: 12px;
		background: #f5f5f5;
	}

	.aside .tab-category .tab-menu li.on a {
		background: #fff;
	}

	.aside .tab-category .tab-content .content-box {
		display: none;
	}

	.aside .tab-category .tab-content .content-box.on {
		display: block;
	}

	.aside .tab-category ul.depth-one-wrap li {
		position: relative;
        display: flex;
	}


	.aside .tab-category ul.depth-one-wrap li div.no-child {
		width: 100%;
	}

	.aside .tab-category ul.depth-one-wrap ul li div.no-child {
		background-position: calc(100% - 13px) center;
	}

	.aside .tab-category ul.depth-one-wrap li span.arrow {
		position: absolute;
		top: 0;
		right: -10px;
		width: 35px;
		height: 35px;
		display: block;
		background: url(../img/icon/icon-arrow-down-g.png) no-repeat center;
		background-size: 13px auto;
		-khtml-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}

	.aside .tab-category ul.depth-one-wrap li span.arrow.on {
		-webkit-transform: rotate(180deg);
		-moz-transform: rotate(180deg);
		-ms-transform: rotate(180deg);
		transform: rotate(180deg);
	}

	.aside .tab-category ul.depth-one-wrap ul {
        display: none;
		background: #f4f4f4;
        position: absolute;
        top: 0;
        left: 120px;
	}

	.aside .tab-category ul.depth-one-wrap ul li span.arrow {
		right: 0;
	}

	.aside .tab-category li.depth-three > a {
		text-indent: 40px;
	}

    /* 사이트바 추가 css */
    .tab_1 { 
        display: flex;
        padding: 0 15px;
        gap: 0 20px;
        background: var(--gray02);
        border-top: 1px solid var(--point01);
        border-bottom: 1px solid var(--point01);
    }

    .tab_1 > li {
        line-height: 44px;
        font-size: 14px;
        color: var(--gray);
        letter-spacing: -0.42px;
        cursor:pointer;
    }

    .tab_1 > li.open {
        color: var(--block);
        position: relative;
    }

    .tab_1 > li.open::before {
        content: '';
        display: inline-block;
        width: 100%;
        height: 2px;
        background: var(--block);
        position: absolute;
        bottom: 1px;
        left: 0;
    }

    .tab_2 {
        height: 100%;
        display: flex;
    }

    .tab_2::after {
        content: '';
        display: inline-block;
        width: 120px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: var(--gray02);
        z-index: -1;
    }

    .tab_2 > li {
        display: none;
        cursor:pointer;
    }
    .tab_2 > li.open {
        display: block;
    }

    .sub_menu_box {
        display: flex;
        flex-wrap: nowrap;
    }

    /* 자동 카테고리 */
    .aside .tab-category ul.depth-one-wrap .depth-one div {
        background: var(--gray02);
        color: var(--gray);
        padding: 15px;
        font-size: 13px;
        line-height: 130%;
        width: 120px;
        box-sizing: border-box;
    }

    .aside .tab-category ul.depth-one-wrap .depth-one.open div {
        background: var(--whith);
        color: var(--block);
    }

    .aside .tab-category ul.depth-one-wrap ul > ul { 
        display: none;
    }

    .depth-two > .depth-three-wrap {
        display: none;
    }

    
    .subCateagory {
        display: block;
        width: 100%;
        height: 90vh;
        overflow-y: auto;
    }

    .subCateagory .depth-two-wrap {
        margin: 15px 20px 50px;
        padding: 0 0 50px;
    }

    .subCateagory .depth-two-wrap div {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: -0.42px;
        color: var(--block);
        margin-bottom: 30px;
    }

    .subCateagory .depth-two-wrap div a {
        display: flex;
        align-items: center;
        gap: 0 5px;
    }

    .subCateagory .depth-two-wrap li.depth-two a {
        padding: 5px 0;
        display: block;
        width: 100%;
        font-size: 13px;
        font-weight: 400;
        letter-spacing: -0.39px;
        color: var(--gray01);
    }

    .subCateagory .depth-two-wrap .tit {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: -0.42px;
        color: var(--block);
        margin-bottom: 30px;
    }

    .subCateagory .depth-two-wrap .tit a {
        display: flex;
        gap: 0 8px;
    }

    .subCateagory .depth-two-wrap > li {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: -0.42px;
        color: var(--gray01);
        margin: 5px 0;
    }

    /* 수동 카테고리 */
    


	/* 공통상품폼 */ 

    .goods_list_cont > ul li {
        width: 100% !important;
    }

	.goods_list_cont ul li .item_cont{
		padding: 0px 5px;
	}

	.goods_list_cont ul li .item_photo_box{
	    box-sizing: border-box;
	}

	.item_info_cont {
		padding: 6px 0 0 0;
	}

	.item_tit_box .item_name{
		font-size: 14px;
	}

	.item_tit_box .item_name_explain{
		font-size: 11px;
	    padding-top: 0;
	}

	.item_money_box {
		padding: 7px 0 0 0;
	}

	.item_money_box del, 
	.item_money_box .item_price{
		font-size: 12px;
	}

	.item_link_wib{
		display: none;
	}

	.discount-rate{
		width: 35px;
		height: 35px;
	    font-size: 12px;
		line-height: 37px;
		top: 10px;
		left: 15px;
	}
	
	.btn_goods_down_more{
		display: block;
	}

    .fixedBtn > .topBtn:hover img:nth-child(1) {
        display: block;
    }
    
    .fixedBtn > .topBtn:hover img:nth-child(2) {
        display: none;
    }

    .fixedBtn a img {
        width: 45px;
        height: 45px;
    }
    .fixedBtn .bottomBtn {
        display: block;
    }

    /* quick menu */

    .quickMenu {
        display: flex;
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 54px;
        background: var(--whith);
        border-top: 1px solid var(--point01);
        z-index: 1000;
    }

    .quickMenu li { width: 20%; text-align: center;}
    .quickMenu li a { background-size: 30px; display: block; padding: 35px 0 5px; line-height: 1; font-size: 11px; font-weight: 500; letter-spacing: -0.33px; color: var(--gray01);}
    .quickMenu li a.active { color: var(--point02);}
    .quickMenu .menu a { background: url(../img/icon/quick_menu.svg) no-repeat center 5px;}
    .quickMenu .wish a { background: url(../img/icon/quick_wish.svg) no-repeat center 5px;}
    .quickMenu .home a { background: url(../img/icon/quick_home.svg) no-repeat center 5px;}
    .quickMenu .cart a { background: url(../img/icon/quick_cart.svg) no-repeat center 5px;}
    .quickMenu .admin a { background: url(../img/icon/quick_admin.svg) no-repeat center 5px;}

    .quickMenu .menu a.active { background: url(../img/icon/quick_menu_active.svg) no-repeat center 5px;}
    .quickMenu .wish a.active { background: url(../img/icon/quick_wish_active.svg) no-repeat center 5px;}
    .quickMenu .home a.active { background: url(../img/icon/quick_home_active.svg) no-repeat center 5px;}
    .quickMenu .cart a.active { background: url(../img/icon/quick_cart_active.svg) no-repeat center 5px;}
    .quickMenu .admin a.active { background: url(../img/icon/quick_admin_active.svg) no-repeat center 5px;}


}


@media (max-width: 670px) {
    /* 하단 영역 */
    #footer_wrap .csWrap h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    #footer_wrap .csWrap .csSub li {
        font-size: 12px;
    }
    #footer_wrap .foot .foot_menu {
        margin: 0 0 30px;
        flex-wrap: wrap;
        gap: 10px;
    }
    #footer_wrap .foot .foot_menu li {
        margin: 0;
    }
    #footer_wrap .foot .foot_menu li a {
        white-space: nowrap;
    }

    #footer_wrap .foot .info li {
        margin: 0 10px 10px 0;
        line-height: 150%;
    }
}