/*************************************** reset ***************************************/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

body {
	direction: ltr;
	font-family: 'Roboto', sans-serif;
}

body,
div,
ul,
li,
ol,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
textarea,
p,
select,
button,
figure {
	margin: 0;
	padding: 0;
}

em,
address {
	font-style: normal;
}

ul {
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
}

a {
	display: block;
	text-decoration: none;
	color: #333;
}

img,
fieldset {
	border: 0;
}

video,
img {
	width: 100%;
}

table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

button,
select {
	cursor: pointer;
}

::before,
::after {
	box-sizing: border-box;
}

label,
input,
button,
select,
img {
	vertical-align: middle;
	border: none;
	max-width: 100%;
}

	input:-webkit-autofill,
	input:-webkit-autofill:hover,
	input:-webkit-autofill:focus,
	input:-webkit-autofill:active {
		transition: background-color 5000s ease-in-out 0s;
		-webkit-transition: background-color 9999s ease-out;
		-webkit-box-shadow: 0 0 0px 1000px #201c29 inset !important;
		-webkit-text-fill-color: #fff !important;
	}

	input::-ms-clear,
	input::-ms-reveal {
		display: none;
		width: 0;
		height: 0;
	}

	input::-webkit-search-decoration,
	input::-webkit-search-cancel-button,
	input::-webkit-search-results-button,
	input::-webkit-search-results-decoration {
		display: none;
	}

.container {
	width: 94%;
	margin: 0 auto;
}

/* font-face */
@font-face {
	font-family: 'NanumSquareR';
	src: url(../fonts/NanumSquareR.ttf) format('truetype');
	
}
@font-face {
	font-family: 'NanumSquareEB';
	src: url(../fonts/NanumSquareEB.ttf) format('truetype');
}
@font-face {
	font-family: 'NanumSquareL';
	src: url(../fonts/NanumSquareL.ttf) format('truetype');
}
@font-face {
	font-family: 'Anja Eliane';
	src: url(../fonts/AnjaEliane.ttf) format('truetype');
}
@font-face {
	font-family: 'SCoreDream';
	src: url('../fonts/SCDream6.otf') format('woff');
}

/************************************** css **************************************/

/* layout */
.m_wrap {
	width: 100%;
	font-family: 'Roboto', sans-serif;
}
.m_container {
	width: 94%;
	margin: 0 auto;
}

/* scroll_top */
.scroll_top {
	z-index: 999;
	display: none;
	position: fixed;
	right: 15px;
	bottom: 68px;
	width: 49px;
	height: 49px;
	background-color: #ff0000;
}
/* main_button */
.main_button {
	display: none;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 53px;
	border-top: 1px solid #dadada;
}
.main_button button {
	display: block;
	float: left;
	height: 100%;
	font-size: 20px;
	text-align: center;
}
.main_button button.wishlist {
	width: 40%;
	color: #666666;
	background-color: #fff;
}
.main_button button.cart {
	width: 60%;
	color: #fff;
	background-color: #ee2f49;
}
/* fixed_button */
.fixed_button {
	display: block;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 53px;
	border-top: 1px solid #dadada;
}
.fixed_button button {
	display: block;
	float: left;
	height: 100%;
	font-size: 20px;
	text-align: center;
}
.fixed_button button.wishlist {
	width: 40%;
	color: #666666;
	background-color: #fff;
}
.fixed_button button.cart {
	width: 60%;
	color: #fff;
	background-color: #ee2f49;
}

/* nav */
nav {
	z-index: 1000;
	overflow-y: auto;
	position: fixed;
	left: -1400px;
	top: 0;
	width: 100%;
	height: 100%;
	transition: left 0.3s ease;
	background-color: #fff;
}
nav.active {
	left: 0;
	transition: left 0.3s ease;
}
nav ul {
	width: 90%;
	margin: 0 auto;
	padding-top: 51px;
}
nav ul li a {
	display: block;
	overflow: hidden;
	padding: 9px 0;
}
nav ul li a img {
	display: block;
	float: left;
	width: 26px;
	margin-right: 32px;
}
nav ul li a span {
	display: block;
	float: left;
	margin-top: 2px;
	font-size: 20px;
	color: #333333;
}
nav ul li span.categories {
	display: block;
	margin-top: 16px;
	margin-bottom: 8px;
	font-size: 18px;
	color: #888;
}
nav span.sub_nav {
	display: block;
	width: 90%;
	height: 100px;
	margin: 0 auto;
	margin-top: 14px;
}
nav span.sub_nav a {
	display: inline-block;
	margin: 2px 0;
	padding: 10px 10px;
	font-size: 18px;
	border-radius: 8px;
	color: #333;
	background-color: #dadada;
}

/* header */
header {
	z-index: 9999;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 51px;
	background-color: #fff;
}
header .menu {
	position: absolute;
	left: 2px;
	top: 0px;
	width: 30px;
	padding: 4px 10px;
}
header .menu_wrap {
    width: 25px;
    height: 25px;
    padding-top: 20px;
}
header .menu_icon, header .menu_icon:before, header .menu_icon:after { 
    width: 25px;
    height: 2px;
    background: #000;
}
header .menu_icon {
    position: relative; 
    transition: all 0 200ms;
}
header .menu_icon.active{
    background: rgba(255,255,255,0);
}
header .menu_icon:before {
    content:'';
    position: absolute;
    left: 0;
    bottom: 8px;
    transition:
    bottom 200ms 200ms cubic-bezier(0.32,1,0.32,1),
    transform 200ms cubic-bezier(0.32,1,0.32,1);
}
header .menu_icon.active:before{
    bottom: 0;
    transform: rotate(45deg);
    transition:
    bottom 200ms cubic-bezier(0.32,1,0.32,1),
    transform 200ms 200ms cubic-bezier(0.32,1,0.32,1);
}
header .menu_icon:after {
    content:'';
    position: absolute; left: 0; top: 8px;
    transition:
    top 200ms 200ms cubic-bezier(0.32,1,0.32,1),
    transform 200ms cubic-bezier(0.32,1,0.32,1);
}
header .menu_icon.active:after { 
    top: 0;
    transform: rotate(-45deg);
    transition:
    bottom 200ms cubic-bezier(0.32,1,0.32,1),
    transform 200ms 200ms cubic-bezier(0.32,1,0.32,1);
}
header .logo {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%,-50%);
	width: 200px;
}
header .logo h1 {
	font-size: 24px;
	color: #000;
	text-align: center;
}
header .cart {
	position: absolute;
	right: 40px; top: 8px;
}
header a {
	display: block;
}
header .cart a img {
	width: 24px;
}
header .cart span.cart_number{
	position: absolute;
	right: 18px;
	top: -3px;
	width: 19px;
	height: 19px;
	line-height: 19px;
	font-size: 9px;
	text-align: center;
	border-radius: 50%;
	color: #fff;
	background-color: #ee2f49;
}
header .h_my_page {
	position: absolute;
	right: 8px; top: 9px;
}
header .h_my_page a img {
	width: 24px;
}
/* search */
.search {
	z-index: 999;
	position: fixed;
	left: 0;
	top: 50px;
	width: 100%;
	padding-bottom: 4px;
	background-color: #fff;
}
.search img {
	position: absolute;
	right: 16px; top: 0px;
	width: 23px;
	padding: 8px;
}
.search .search_box {
	width: 94%;
	height: 41px;
	margin: 0 auto;
	border-radius: 20px;
	background-color: #f5f5f5;
}
.search .search_box input {
	display: block;
	width: 80%; height: 30px;
	padding: 5.5px 0 5.5px 18px;
	font-size: 18px;
	border-radius: 20px;
	outline: 0;
	background-color: #f5f5f5;
}

.nav_button {
	overflow: hidden;
	padding: 4px 0 10px 0;
}
.nav_button button {
	float: right;
	display: inline-block;
	margin: 0 4px;
	padding: 8px 16px;
	text-align: center;
	background-color: #fff;
	border: 1px solid #3333;
	border-radius: 6px;
}

.nav_button button.delecte {
	
}

.nav_button button.reorder {
	color: #fff;
	border-color: #727272;
	background-color: #727272;
}

.nav_button button.capytocart {
	color: #fff;
	border-color: #ee2f49;
	background-color: #ee2f49;
}



/* wrap_bg */
.wrap_bg {
	margin-top: 90px;
	padding-top: 16px;
	background : linear-gradient(to bottom, #fff, #e8e8e8);}
}

/* product */
.product {

}
.allcheck {
	position: relative;
}
.allcheck label {
	display: inline-block;
	margin-bottom: 14px;
}
.allcheck label i {
	display: inline-block;
	width: 20px; height: 20px;
	margin-left: 4px;
	margin-bottom: 3px;
	background: url(../images/nocheck.png) left center no-repeat;
	vertical-align: middle;
	transition-duration: 0.3s;
}
.allcheck label input[type=checkbox] {
	display: none;;
}
.allcheck label input[type=checkbox]:checked + i {
	background-image: url(../images/check.png);
}
.product .item .item_list {
	position: relative;
	overflow: hidden;
	margin-bottom: 12px;
	padding: 14px 0;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 2px 4px 4px rgba(0,0,0,0.2);
}
.product .item .item_list label {
	position: absolute;
	right: 6px; top: 6px;
	width: 100%; height: 100%;
	display: inline-block;
	margin-bottom: 14px;
}
.product .item .item_list label input[type=checkbox] {
	display: none;
}
.product .item .item_list label input[type=checkbox]:checked + i {
	background-image: url(../images/check.png); 
}
.product .item .item_list label i {
	position: absolute;
	display: inline-block;
	right: 0;
	z-index:1;
	width: 20px; height: 20px;
	margin-left: 4px;
	margin-bottom: 2px;
	background: url(../images/nocheck.png) left center no-repeat;
	vertical-align: middle;
	transition-duration: 0.3s;
}
.product .item .item_list .item_img {
	float: left;
	width: 163px; height: 163px;
	margin-left: 6px;
}
.product .item .item_list .item_img img {
	
}
.product .item .item_content {
	float: left;
	max-width: 49.7%;
	margin-left: 6px;
}
.product .item .item_content h3 {
	overflow: hidden;
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 13px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
}
.product .item .item_content p.parnum {
	margin-bottom: 8px;
	font-size: 12px;
	text-decoration: underline;
}
.product .item .item_content p.moq {
	display: inline-block;
	margin-bottom: 4px;
	padding: 2px 6px;
	font-size: 12px;
	border-radius: 18px;
	color: #fff;
	background-color: #f69a5c;
}
.product .item .item_content .quantity {
	margin-bottom: 15px;
}
.product .item .item_content.moq .quantity {
	margin-bottom: 6px;
}
.product .item .item_content .quantity span.stock {
	padding: 2px 6px;
	font-size: 13px;
	border-radius: 18px;
	color: #fff;
	background-color: #ee2f49;
}
.product .item .item_content .quantity span.ea {
	font-size: 13px;
}
.product .item .item_content .cost {
	font-size: 11px;
	text-decoration: line-through;
	color: #999;
}
.product .item .item_content .price {
	overflow: hidden;
}
.product .item .item_content .price span.actual {
	float: left;
	margin-right: 4px;
	font-size: 18px;
}
.product .item .item_content .price span.discount {
	float: left;
	margin-top: 2px;
	padding: 2px 6px;
	font-size: 11px;
	border-radius: 18px;
	color: #fff;
	background-color: #ee2f49;
}

.down {
	padding-bottom: 16px;
	text-align: right;
}
.down button {
	padding: 10px 22px;
	border-radius: 8px;
	color: #fff;
	background-color: #ee2f49;
}

.invoice_input {

}
.invoice_input p {
	position: relative;
	height: 55px;
	border: 2px solid #dadada;
	border-bottom: 0;
	color: #888;
	background-color: #fff;
}
.invoice_input p.active {
	border: 2px solid #555;
	color: #555;
}
.invoice_input p span {
	display: inline-block;
	position: absolute;
	left: 10px;
	top: 10px;
	font-size: 14px;
}
.invoice_input p input {
	display: block;
	float: right;
	width: 60%;
	padding: 28px 19px 10px 19px;
	text-align: center;
	font-size: 14px;
	color: #888;
	outline: none;
	background-color: #fff;
}
.invoice_input p input.form-control {
	padding: 26px 19px 0px 19px;
}
.invoice_input p input.date {
	width: 28%;
}
.invoice_input p input.date.last {
	position: relative;
	margin-left: 10px;
}
.invoice_input p.active input {
	color: #555;
}
.invoice_input p input::placeholder {
  	color: #9999;
}
.invoice_input p.active input::placeholder {
	color: #555;
}
.invoice_input p .before {
	position: absolute;
	left: 61%;
	top: 65%;
	transform: translate(-50%,-50%);
}
.invoice_input button {
	display: block;
	width: 100%;
	height: 55px;
	line-height: 55px;
	font-size: 20px;
	text-align: center;
	color: #fff;
	background-color: #ee2f49;
}

/* footer */
footer {
	padding-top: 40px;
	padding-bottom: 120px;
	text-align: center;
}
footer h2 {
	width: 180px;
	margin: 0 auto 12px auto;
}
footer p {
	line-height: 20px;
	font-size: 11px;
	color: #555555;
}
footer .footer_link a {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	color: #555555;
	text-decoration: underline;
}
footer span {
	display: block;
	margin-top: 18px;
	font-size: 10px;
	color: #888;
}
footer span a {
	display: inline-block;
	margin-left: 4px;
	padding: 6px 12px;
	font-size: 13px;
	border-radius: 18px;
	color: #fff;
	background-color: #000;
}

/***************************** media query *****************************/
@media screen and (min-width: 410px) {
	nav ul li a {
		padding: 10px 0;
	}
}
@media screen and (max-width: 370px) {
	nav ul li a {
		padding: 8px 0;
	}
	nav span.sub_nav {
		margin-top: 10px;
	}
	nav span.sub_nav a {
		padding: 10px 7px;
	}
	.mypage_title a {
		font-size: 26px;
	}
	.category ul li a {
		font-size: 17px;
	}
	.link .img_box {
		width: 48.41%;
	}
	.product .item .item_list .item_img {
		width: 160px;
		height: 160px;
	}
	.product .item .item_content {
		max-width: 47%;
	}
	.product .item .item_content h3 {
		margin-top: 8px;
		margin-bottom: 8px;
	}
	footer span a {
		margin-top: 12px;
	}
	.order_report_item .report_text {
		width: 66%;
		font-size: 12px;
	}
	.report_text .tit {
		height: 28px;
		margin-top: 19px;
	}
}
@media screen and (max-width: 330px) {
	nav ul li a {
		padding: 6px 0;
	}
	nav span.sub_nav {
		margin-top: 4px;
	}
	nav span.sub_nav a {
		padding: 7px 2px;
	}
	.mypage_title a {
		font-size: 26px;
	}
	.category ul li a {
		font-size: 14px;
	}
	.link .img_box {
		width: 48.34%;
	}
	.product .item .item_list .item_img {
		width: 140px;
		height: 140px;
	}
	.product .item .item_content {
		margin-left: 7px;
	}
	.product .item .item_content h3 {
		margin-top: 4px;
		margin-bottom: 5px;
	}
	.product .item .item_content p.parnum {
		margin-bottom: 4px;
	}
	.product .item .item_content .quantity {
		margin-bottom: 5px;
	}
	footer span a {
		margin-top: 12px;
	}

	/* Best Sellers */
	.two_select .select_wrap.first {
		width: 47%;
	}

	/* Cart Management */
	.top_button button {
		font-size: 14px;
	}
	.top_button button:first-child {
		margin-right: 11px;
	}
	.product .item .item_content.cart {
		max-width: 54%;
		margin-left: 10px;
	}
	.product .item .item_list .item_img.cart {
		margin-left: 32px;
	}
	.product .item .item_list .list_button {
		left: 32px;
	}
	.product .item .item_list .list_qty {
		left: 136px;
	}

	/* Brand */
	.brand_link ul li a {
		width: 33.10%;
	}
}
