﻿.m-product-list {
	display: flex;
	flex-wrap: wrap
}

.m-product-item {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	margin-top: 30px;
	margin-right: 20px
}

.m-product-img {
	position: relative;
	background: #FFF;
	text-align: center;
	cursor: pointer
}

.m-product-item .icon-heart {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	background-image: url(../images/ic-heart.png?v=ag86QI29lVq4XuN04ii09Q%3D%3D);
	-webkit-background-size: cover;
	background-size: cover;
	z-index: 3
}

.m-product-item:hover .icon-heart {
	background-image: url(../images/ic-heart-hover.png?v=uZyj3Gh5nHKm5JwYNGx1gQ%3D%3D)
}

.m-product-item .icon-heart.active {
	background-image: url(../images/ic-heart-active.png?v=4UW4jfkqqSMI2Eu2MD8ksw%3D%3D)
}

.m-product-img img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
	width: 100%;
	height: 100%
}

.m-product-img img:first-of-type {
	z-index: 1
}

.m-product-img img:last-of-type,.m-product-img:hover img:first-of-type {
	opacity: 0
}

.m-product-img img:first-of-type,.m-product-img:hover img:last-of-type {
	opacity: 1
}

.m-product-toast {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 0 18px;
	min-width: 160px;
	height: 50px;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	background-color: rgba(0,0,0,.6);
	box-shadow: 0 3px 10px 0 rgba(0,0,0,.1);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-family: SourceHanSans-Regular;
	text-align: center;
	font-size: 14px;
	color: #fff;
	letter-spacing: 0;
	line-height: 50px;
	z-index: 2
}

.m-product-brand {
	margin-top: 16px;
	font-family: SourceHanSans-Light;
	font-size: 12px;
	color: #999;
	letter-spacing: 0;
	line-height: 12px;
	text-align: center
}

.m-product-name {
	margin-top: 14px;
	font-family: SourceHanSans-Regular;
	font-size: 14px;
	color: #333;
	letter-spacing: 0;
	line-height: 18px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	text-align: center
}

.m-product-name:hover {
	color: #7A4618
}

.m-product-price {
	margin-top: 14px;
	font-family: SourceHanSans-Light;
	font-size: 14px;
	color: #CCA24A;
	letter-spacing: 0;
	line-height: 14px;
	display: flex;
	align-items: center;
	justify-content: center
}

.m-product-price-del {
	margin-top: 6px;
	font-family: SourceHanSans-Light;
	font-size: 12px;
	color: #C4C4C4;
	letter-spacing: 0;
	line-height: 12px
}

.m-product-price>span {
	margin-right: 10px
}

.m-product-img>.icon-news,.m-product-img>.icon-spot {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 20px;
	-webkit-background-size: cover;
	background-size: cover;
	z-index: 1
}

.m-product-img>.icon-news {
	background-image: url(../images/ic-new.jpg?v=N%2B%2FXpZpcIfRp%2Fzgnqn3IFA%3D%3D)
}

.m-product-img>.icon-spot {
	background-image: url(../images/ic-spot.jpg?v=PDPQDuyDPcDX3Perv5tL4g%3D%3D)
}