@charset "utf-8";

/* =================================
*  	gnb css
*   2021-01-15 작성
*   375px 기준
================================== */

/* gnb open 버튼 */
.open-gnb {display: inline-block; width: 30px; height: 40px; background-image: url("/AppData/images/site/common/menu.png"); background-repeat: no-repeat; background-position: center; outline: none; cursor: pointer; background-size: 22px auto; }
.pc.open-gnb {
  position: relative;
  display: block;
  width: 134px;
  background-image: none;
  float: left;
  margin: 0px auto;
  padding-left: 40px;
  box-sizing: border-box;
  text-align: left;
  z-index: 3;
  font-size: 17px;
  background-color: #fff;
  font-weight: 700;
  height: 54px;
  color: #222;
}
.pc.open-gnb::after{
  content: '';
  display: block;
  clear: both;
  width: 1px;
  height: 15px;
  background-color: #999;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.open-gnb.pc span { 
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #222;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.open-gnb.pc span::before{  position: absolute; content: "";  width: 20px; height: 2px; background-color:#222; top: -6px; left: 0; }
.open-gnb.pc span::after{ position: absolute; content: "";  width: 20px; height: 2px;  background-color:#222; left: 0; top: 7px; }
.pc.gnb-container {display: none; position: absolute; left: 20px; top:54px; z-index: 300; opacity: 0; transition: .2s ease-in-out;}
.pc.gnb-container.active {display: block; opacity : 1; }


.pc .gnb-inner {width: 300px;}
.pc .gnb { box-sizing: border-box; border: 1px solid #e5e5e5; background-color: #fff; box-shadow:0px 4px 10px rgb(0 0 0 / 15%)}
.pc .gnb + .gnb {/*margin-top: 10px;*/border-top: 10px solid #eee; }
.pc .gnb > li {width: 100%; word-break: break-all;}
.pc .gnb > li.gnb-allcategory > a {font-weight: 700; }
.pc .gnb > li > a,
.pc .gnb > li > button{
  overflow: hidden;
  padding: 15px 35px 15px 15px;
  background-image: url(/AppData/images/site/mobile/layout/gnb_go.png);
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 4px 8px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
  cursor: pointer;
 }
.pc .gnb > li:last-child > a {border-bottom: 1px solid #ddd; }
.pc .gnb:last-child > li:last-child > a {border-bottom: 0; }
.pc .gnb li:hover > a, .pc .gnb li:hover > button{font-weight: 700; color: #6ab5d5;}

.pc .gnb > li.depth > a,
.pc .gnb > li.depth > button {background-image: url("/AppData/images/site/mobile/layout/gnb_depth_open.png");background-size: 8px 4px; }

.pc .gnb > li.depth.open > a,
.pc .gnb > li.depth.open > button {background-image: url("/AppData/images/site/mobile/layout/gnb_depth_close.png"); }


/* gnb 영역 */
.mobile.gnb-container {display: block; position: fixed; top: 0; left: -100%; z-index: 9000; width: 100%; height: 100%; overflow: hidden; }
.mobile.gnb-container.active {display: block; left: 0; }

.mobile.gnb-container .dimlayer {display: none; position: absolute; z-index: 9001; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .5); }
.mobile.gnb-container.active .dimlayer {display: block; }

.mobile.gnb-container .gnb-inner {position: absolute; top: 0; right: -100%; z-index: 9002; width: 100%; height: 100%; background-color: #f5f5f5; box-sizing: border-box; overflow: hidden; overflow-y: auto; transition: 0.6s; }
.mobile.gnb-container.active .gnb-inner {right: 0; }


/* gnb header */
/*.mobile.gnb-container .gnb-header {padding: 10px 15px 10px; margin-bottom: 0; background-color: #fff; border-bottom: 1px solid #ddd; }
.mobile.gnb-container .gnb-header:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }

.mobile .gnb-goto-home {float: left; display: inline-block; padding-left: 24px; background-image: url("/AppData/images/site/mobile/layout/icon_category_home.png"); background-repeat: no-repeat; background-position: left center; background-size: 14px 14px; font-size: 14px; color: #222; line-height: 30px; }*/


/* 모바일 gnb */
.mobile .gnb-mypage:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }
.mobile .gnb-mypage {width: 100%; padding: 20px 15px; background-color: #fff; border-bottom: 1px solid #ddd; box-sizing: border-box; }
.mobile .gnb-mypage a{background-color: #6ab5d5; color: #fff; padding: 6px 10px; box-sizing: border-box;}

.mobile .gnb-mypage-log {float: left; width: calc(100% - 30px);}

.mobile.gnb-container .btn-close {float: right; display: inline-block; width: 30px; height: 30px; background-image: url("/AppData/images/site/mobile/button/btn_close.png"); background-repeat: no-repeat; background-size: 20px; background-position: right center; }

.mobile .gnb-mypage .gnb-goto-join,
.mobile .gnb-mypage .gnb-goto-order {margin-left: 10px; }

.mobile .gnb-mypage .title {margin-bottom: 10px; font-size: 22px; font-weight: normal; color: #222; font-weight: 400; }
.mobile .gnb-mypage .title strong {font-size: 22px; font-weight: 700; color: #000; }

.mobile .gnb-mypage .btn-round {height: 28px; line-height: 26px; }
.mobile .gnb-mypage .btn-round + .btn-round {margin-left: 10px; }


/* gnb-util */
.gnb-util {background-color: #fff; border-bottom: 1px solid #ddd; }
.gnb-util ul {display: table; margin: 0 auto; }
.gnb-util li {display: table-cell; width: 1%; padding: 20px 0; text-align: center; vertical-align: middle; }
.gnb-util li .gnb-util-menu{display: block}
.gnb-util li + li .gnb-util-menu{border-left: 1px solid #ddd; }
.gnb-util li p {font-size: 13px; text-align: center; white-space: normal; }
.gnb-util .icon {
  background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
}
.gnb-util .icon-order {
  background-image: url(/AppData/images/mediacommerce/icon/category_order.png);
  background-size: 90%;
}

.gnb-util .icon-cart {
  background-image: url(/AppData/images/mediacommerce/icon/category_cart.png);
  background-size: 90%;
}

.gnb-util .icon-point {
  background-image: url(/AppData/images/mediacommerce/icon/category_point.png);
}
.gnb-util .icon-coupon {
  background-image: url(/AppData/images/mediacommerce/icon/category_coupon.png);
}


.mobile .gnb-category {}
.mobile .gnb {margin-top: 10px; width: 100%; border-top: 1px solid #eee; border-bottom: 1px solid #ddd; background-color: #fff; box-sizing: border-box; }
.mobile .gnb > li {width: 100%; box-sizing: border-box; /*border-bottom: 1px solid #eee; */}
.mobile .gnb > li:last-child {border-bottom: 0; }
.mobile .gnb > li.gnb-allcategory {font-weight: 700; }

.mobile .gnb > li > a,
.mobile .gnb > li > button {display: block; width: 100%; padding: 20px 40px 20px 15px; box-sizing: border-box; background-image: url("/AppData/images/site/mobile/layout/gnb_go.png"); background-repeat: no-repeat; background-position: right 20px center; background-size: 6px 10px; background-color: #fff; color: #222; text-align: left; font-size: 17px !important;}

.mobile .gnb > li.gnb-allcategory > a,
.mobile .gnb > li.gnb-allcategory > button {background: none; }

/* gnb-aside */
.mobile .gnb-aside {padding: 20px 20px; box-sizing: border-box; }
.mobile .gnb-aside a + a {margin-left: 15px; }

.mobile .gnb-aside .gnb-menu {width: 30px; height: 30px; }

.mobile .gnb > li.depth > a,
.mobile .gnb > li.depth > button {background-image: url("/AppData/images/site/mobile/layout/gnb_depth_open.png");background-size: 10px 6px; }

.mobile .gnb > li.depth.open > a,
.mobile .gnb > li.depth.open > button {background-image: url("/AppData/images/site/mobile/layout/gnb_depth_close.png"); }

.gnb-depth {display: none; padding: 5px 0; background-color: #f7f8f9; }
.gnb-depth > li > a {display: block; width: 100%; padding: 10px 15px; box-sizing: border-box; color: #444; text-align: left;}


/* gnb-recently */
.gnb-recently {width: 100%; margin-top: 10px; background-color: #fff; border-bottom: 1px solid #ddd;}
.gnb-recently-header {padding: 20px 20px 20px 15px; border-bottom: 1px solid #eee; box-sizing: border-box; }
.gnb-recently-header:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }
.gnb-recently-header .title {float: left; color: #444; font-weight: 400; font-size: 17px;}
.gnb-recently-header .gnb-goto-recently {float: right; line-height: 23px;}
.gnb-recently-header .gnb-goto-recently span {padding-right: 11px; background-image: url("/AppData/images/mediacommerce/button/btn_goto.png"); background-repeat: no-repeat; background-position: right center; background-size: 6px 8px; font-size: 14px; color: #888; }

.gnb-recently-list {padding: 15px 15px; }
.gnb-recently-list:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }
.gnb-recently-list li {float: left; width: calc((100vw - 60px)/3); height: calc((100vw - 60px)/3); border: 1px solid #ddd; border-radius: 5px; overflow: hidden; background-color: #f2f2f2; }
.gnb-recently-list li.nodata {width: 100%; min-height: 100px; padding: 40px 0 0; box-sizing: border-box; background-color: #fff; border: none; font-size: 14px; color: #888; text-align: center; }
.gnb-recently-list li + li {margin-left: 10px;}
.gnb-recently-list li a,
.gnb-recently-list li button {display: block; width: 100%; height: 100%; outline: none; }
.gnb-recently-list li img {display: block; width: 100%; height: 100%; }


/*
  ##Device = Laptops, Desktops common
  ##Screen = B/w 1024px to
*/
@media (min-width: 1024px)  {
.mobile.open-gnb {display: none; }
.mobile.gnb-container {display: none; }

}

