@charset "utf-8";


/* =======================================================
	list
========================================================*/
/*
	list-header
---------------------------------------------------*/
.list-header {
	padding: 20px 20px;
	box-sizing: border-box;
}
.list-header:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }



/* list-sort */
.sort-wrapper {
	float: left;
	position: relative;
}
.sort-wrapper .sort-btn {
  position: relative;
  z-index: 100;
  width: 110px; height: 30px;
  display: block;
  background-color: #fff;
  border: 1px solid #ececec;
  border-radius: 5px;
  box-sizing: border-box;
}
.sort-wrapper .sort-btn span {
  display: inline-block;
  padding-right: 24px;
  font-size: 14px;
  color: #666;
  background-image: url("/AppData/images/mediacommerce/icon/icon_sort.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px auto;
}
.sort-wrapper .sort-list {
  display: none;
  position: absolute;
  top: 25px; left: 0;
  z-index: 80;
  width: 110px;
  padding-top: 5px;
  border: 1px solid #ececec;
  border-radius: 5px;
  background-color: #fff;
  box-sizing: border-box;
}
.sort-wrapper .sort-list > li {
  width: 100%;
  border-top: 1px solid #ececec;
}
.sort-wrapper .sort-list > li:first-child {
  border-top: 0;
}
.sort-wrapper .sort-list > li > button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  background-color: transparent;
  border: none;
  box-sizing: border-box;
  outline: none;
  font-size: 13px;
  color: #aaa;
}
.sort-wrapper .sort-list li > button.current {
  color: #666;
}


/* viewstyle-wrapper */
.viewstyle-wrapper {float: right; }
.viewstyle-wrapper:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }

.btn-viewstyle {
  float: left;
  width: 30px; height: 30px;
  padding: 0;
  background: none;
  outline: none;
}
.btn-viewstyle + .btn-viewstyle {margin-left: 5px; }

.btn-viewstyle .icon {
	display: block;
	width: 100%; height: 100%;
	margin: 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
}
.icon-view-full {background-image: url("/AppData/images/mediacommerce/white/icon/view_full.svg"); }
.icon-view-half {background-image: url("/AppData/images/mediacommerce/white/icon/view_half.svg"); }
.icon-view-list {background-image: url("/AppData/images/mediacommerce/white/icon/view_list.svg"); }

.btn-viewstyle.current .icon-view-full {background-image: url("/AppData/images/mediacommerce/white/icon/view_full_on.svg"); }
.btn-viewstyle.current .icon-view-half {background-image: url("/AppData/images/mediacommerce/white/icon/view_half_on.svg"); }
.btn-viewstyle.current .icon-view-list {background-image: url("/AppData/images/mediacommerce/white/icon/view_list_on.svg"); }


/*.btn-viewstyle .icon {
  display: block;
  width: 18px; height: 18px;
  margin: 0 auto;
  background-color: #ccc;
}
.btn-viewstyle.current .icon {
  background-color: #444;
}*/

/*
.icon-view-full {
  -webkit-mask-image: url("/AppData/images/mediacommerce/icon/view_full.svg");
  mask-image: url("/AppData/images/mediacommerce/icon/view_full.svg");
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.icon-view-half {
  -webkit-mask-image: url("/AppData/images/mediacommerce/icon/view_half.svg");
  mask-image: url("/AppData/images/mediacommerce/icon/view_half.svg");
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.icon-view-list {
	-webkit-mask-image: url("/AppData/images/mediacommerce/icon/view_list.svg");
  mask-image: url("/AppData/images/mediacommerce/icon/view_list.svg");
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

*/

/*
	list viewstyle01
---------------------------------------------------*/
.product-list {
	width: 100%;
	padding: 0 20px 20px;
	box-sizing: border-box;
}
.product-list .nodata {
	padding: 100px 0;
	box-sizing: border-box;
	font-size: 14px;
	color: #888;
	text-align: center;
}
.product-list .product-list:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }

.product-list .product-item {margin-top: 20px; }
.product-list .product-item:first-child {margin-top: 0; }

.product-item-thumb {
	position: relative;
	display: block;
	width: calc(100vw - 40px);
	height: calc(100vw - 40px);
	border: 1px solid #f2f2f2;
	border-radius: 5px;
	box-sizing: border-box;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.product-item-thumb a {
	position: relative;
	display: block;
	width: 100%; height: 100%;
}

/* matching tag */
.product-item-thumb .matching-tag {
	position: absolute;
	top: 10px; left: 0;
	display: inline-block;
	padding: 3px 12px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.product-item-thumb .matching-tag span {
	color: #fff;
	display: inline-block;
	padding-left: 11px;
	background-image: url("/AppData/images/mediacommerce/icon/icon_video.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 6px 8px;
	font-size: 13px;
	line-height: 1em;
}

/* soldout */
.product-item-thumb .soldout-text {
	display: none;
	position: absolute;
	top: 0; left: 0;
	z-index: 50;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}
.product-item-thumb .soldout-text span {
	position: absolute;
	top: 50%;
	margin: 0 auto;
	margin-top: -36px;
	display: block;
	width: 100%;
	font-size: 24px;
	text-align: center;
	font-weight: 700;
	color: #fff;
}
.soldout .product-item-thumb .soldout-text {display: block; }


/* mc--product-info */
.product-item-info {
  margin: 5px 0 15px;
}
.product-item-info .title {
	display: block;
	height: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	word-wrap: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 15px;
	line-height: 20px;
	color: #222;
}


/* 가격 & 할인정보 */
.product-list p {margin: 0; padding: 0; }
.product-list .price {
	font-size: 18px;
	font-weight: 700;
	color: #444;
	text-align: left;
	letter-spacing: -0.25px;
}
.product-list .price em {
	font-style: normal;
	font-size: 15px;
	font-weight: 400;
}
.product-list .sale {
	padding-left: 5px;
	font-size: 15px;
}




/*
	list viewstyle02
---------------------------------------------------*/
.product-list.viewstyle02 {}
.product-list.viewstyle02:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }

.product-list.viewstyle02 .product-item {
	float: left;
	width: calc((100vw - 55px)/2);
	margin-top: 20px;
}

.product-list.viewstyle02 .product-item:first-child,
.product-list.viewstyle02 .product-item:nth-child(2) {margin-top: 0; }
.product-list.viewstyle02 .product-item:nth-child(2n) {
	float: right;
	margin-left: 15px;
}

.product-list.viewstyle02 .product-item-thumb {
	width: calc((100vw - 55px)/2);
	height: calc((100vw - 55px)/2);
}


/* matching tag */
.product-list.viewstyle02 .matching-tag {
	top: 10px; left: 0;
	padding: 0 8px;
}
.product-list.viewstyle02 .matching-tag span {
	font-size: 12px;
	line-height: 20px;
}


/* mc--product-info */
.product-list.viewstyle02 .title {
	height: 36px;
	font-size: 14px;
	line-height: 18px;
}



/*
	list viewstyle03
--------------------------------------------------- */
.product-list.viewstyle03 {}

.product-list.viewstyle03 .product-item {
	margin-top: 20px;
}
.product-list.viewstyle03 .product-item:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }
.product-list.viewstyle03 .product-item:first-child {margin-top: 0; }

.product-list.viewstyle03 .product-item-thumb {
	float: left;
	position: relative;
	display: block;
	width: 140px;	height: 140px;
}

.product-list.viewstyle03 .product-item-thumb .matching-tag {
	top: 10px; left: 0;
	padding: 0 8px;
}
.product-list.viewstyle03 .product-item-thumb .matching-tag span {
	font-size: 12px;
	line-height: 20px;
}


.product-list.viewstyle03 .product-item-info {
	margin: 0;
	float: left;
	width: calc(100% - 140px);
	height: 140px;
	padding: 5px 0 5px 15px;
	box-sizing: border-box;
}
.product-list.viewstyle03 .product-item-info .title {
	height: 60px;
	margin-bottom: 10px;
	-webkit-line-clamp: 3;
}



/* =======================================================
	mc--search-window
========================================================*/
.search-window {
	position: fixed;
	top: 0; left: 100%;
	z-index: 310;
	display: block;
	width: 100%;
	padding: 0 20px;
	border-bottom: 1px solid #ddd;
	background-color: #fff;
	box-sizing: border-box;
	animation-name: searchWindow;
	transition: .5s;
}
.search-window:after {content: ""; clear: both; display: block; height: 0; visibility: hidden; }
.search-window.active {left: 0; }


@keyframes searchWindow {
	form {
		margin-right: 0;
	}

	to {
		margin-right: 100%;
	}

}

.search-window .icon-search {
	float:left;
	display: block;
	width: 30px; height: 30px;
	padding: 10px 0;
	background-position: left center;
/*	background-color: #222;
	-webkit-mask-position: left center;
 	mask-position: left center;*/
}

.search-window .search-box {
	position: relative;
	float: left;
	width: calc(100% - 80px);
	height: 30px;
	padding: 10px 0;
}
.search-window .search-input {
	width:calc(100% - 40px);
	height: 100%;
	padding-left: 10px;
	border: none;
	outline: none;
}
.search-window .search-delete {
	position: absolute;
	top: 15px; right: 0;
	width: 20px; height: 20px;
	background-image: url("/AppData/images/mediacommerce/white/button/btn_input_delete.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
}
/*.search-window .search-delete {
	position: absolute;
	top: 15px; right: 0;
	width: 20px; height: 20px;
	-webkit-mask-image: url("../images/btn/btn_input_delete.svg");
	mask-image: url("../images/btn/btn_input_delete.svg");
	-webkit-mask-size: 20px 20px;
	mask-size: 20px 20px;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
 	-webkit-mask-position: center;
 	mask-position: center;
	background-color: #cecece;
	visibility: visible;
}
.search-window .search-input:focus + .search-delete {
	width: 20px; height: 20px;
	visibility: visible;
}*/
.search-window .search-cancel {
	float:right;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 400;
	color: #222;
	line-height: 30px;
}


/* =======================================================
	mc--search 결과
========================================================*/
.mc--search .nodata {
	padding: 100px 0;
	box-sizing: border-box;
	font-size: 14px;
	color: #888;
	text-align: center;
}


/* =======================================================
* Device = 태블릿, 아이패드(세로), PC
* Screen = 768 이상
* ========================================================*/
@media all and (min-width: 690px) {
	.search-window {
		width: 690px;
	}

	.search-window.active {
		left: 50%;
		transform: translateX(-50%);
	}
}
