

/* Categories/Product Filter
 * -------------------------- */
 .filter {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.filter li {
    display: inline-block;
	margin: 0;
	line-height: 32px;
	padding-right: 10px;
}
.filter li:before {
    display: inline-block;
	content: "/";
	font-size:1em;
	padding-right: 10px;
    /* padding: 0 25px 0 19px; */
    color: rgba(0,0,0,0.20);
}
.filter li:first-child:before {
    display: none;
}
.filter li a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
	color: #2c3e50;
	padding:7px 15px;
}


.filter li a:hover, .filter li a:focus, .filter li a.active {
    color: #b697c7;
	text-decoration: none;
	border-bottom: 1.5px solid #b697c7;
}



/* Categories Item, Product Item
 * -------------------------- */
 .product-categories-section{
	margin-bottom: 150px;
 }
 .categories-container,
 .products-container  {
   width: 100%;
    margin:auto;
	display: inline-table;
} 

.categories-item-wrapper,
.products-item-wrapper {
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 25px;
    display: inline-flex;
}
.categories-item,
.products-item {
    overflow: hidden;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-radius: 3px;
}
.flush .categories-item ,
.flush .products-item {
    border-radius: 0;
}
.categories-item .categories-thumb,
.products-item .products-thumb {
    /* position: relative; */
    overflow: hidden;
}

.categories-item .categories-thumb img,
.products-item .products-thumb img {
    -webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	/* 动画效果 */
	 animation-name: fadeInUp;
	animation: fadeInUp 0.2s alternate;
	-webkit-animation: fadeInUp 0.2s alternate ;
	-moz-animation: fadeInUp 0.2s alternate infinite; 
}

.categories-item:hover .categories-thumb img,
.products-item:hover .products-thumb img {
    transform: scale(1.1);
}
.categories-item .categories-details,
.products-item .products-details {
    text-align: center;
    padding-top: 20px;
    background-color: #fff;
    /* border: 2px solid #ecf0f1; */
    border-top: 0;
    overflow: hidden;
}

/*从上到下*/
@keyframes fadeInUp
{
    from {
        opacity: 0;
        -webkit-transform: translate(0,1000px); /* Safari */
        transform: stranslate(0,1000px); /* 标准语法 */
    }
    to {
        opacity:1;
        -webkit-transform: translate(0,-10px); /* Safari */
        transform: stranslate(0,-10px); /* 标准语法 */
    }
}
 
@-webkit-keyframes fadeInUp /* Safari 与 Chrome */
{
    from {
        opacity:0;
        -webkit-transform: translate(0,1000px); /* Safari */
        transform: stranslate(0,1000px); /* 标准语法 */
    }
    to {
        opacity:1;
        -webkit-transform: translate(0,-10px); /* Safari */
        transform: stranslate(0,-10px); /* 标准语法 */
    }
}
 @keyframes bounceInLeft {
	from, 60%, 75%, 90%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}
	0% {opacity: 0;transform: translate3d(-3000px, 0, 0);}
	60% {opacity: 1;transform: translate3d(25px, 0, 0);}
	75% {transform: translate3d(-10px, 0, 0);}
	90% {transform: translate3d(5px, 0, 0);}
	100% {opacity: 1;transform: none;}
}
@keyframes bounceInRight {
	from, 60%, 75%, 90%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}
	0% {opacity: 0;transform: translate3d(3000px, 0, 0);}
	60% {opacity: 1;transform: translate3d(-25px, 0, 0);}
	75% {transform: translate3d(10px, 0, 0);}
	90% {transform: translate3d(-5px, 0, 0);}
	100% {opacity: 1;transform: none;}
}

@keyframes bounceInBottom {
	from, 60%, 75%, 90%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}
	0% {opacity: 0;transform: translate3d(3000px, 0, 0);}
	60% {opacity: 1;transform: translate3d(-25px, 0, 0);}
	75% {transform: translate3d(10px, 0, 0);}
	90% {transform: translate3d(-5px, 0, 0);}
	100% {opacity: 1;transform: none;}
}
.categories-item .categories-details h5,
.products-item .products-details h5 {
    margin: 0;
    font-size: 1em;
    font-weight: 700;
    /* position: relative; */
    margin-top:15px;
	font-family: 'Montserrat','Open Sans', sans-serif;
}

.categories-item .categories-details p,
.products-item .products-details p {
    font-size: .9em;
}


/*--------------------
BEGIN: Hot Product Section */
.categories-filter {
	padding: 50px 0;
	text-align: center;
}


/* .container{width: 100%;} */
.categories-img,
.products-img {
	height: calc(100vw * 0.75);
	max-height: calc(100vw * 0.75);
	width: 100%;
  }

  @media (min-width: 576px) {
	/* .container {max-width: 540px;}, 其中包含左右padding 30px, width是510px */
	/* .col-sm {} */
	
	/*Bootstrap 宽度
	col-xl-4 col-lg-4 max-width: 33.333333%;
	col-md-6 max-width: 50%;
	col-sm-12 max-width: 100%; THIS  510px * 100% ≈ 510px, 其中包含左右padding 30px */
	.categories-img,
	.products-img {
		/*Bootstrap 宽度
		max-width: 100%;*/
		/* height:  calc(540px * 0.6);
		max-height:  calc(540px * 0.6); */
		height:  490px;
		max-height:  490px;
	}
  }
  
  

  @media (min-width: 768px) {
	/* .container {max-width: 720px;}, 其中包含左右padding 30px, width是690px */
	/* .col-md {} */
	/*Bootstrap 宽度
	col-xl-4 col-lg-4 max-width: 33.333333%;
	col-md-6 max-width: 50%; THIS 690px * 50% ≈ 345px, 其中包含左右padding 30px
	col-sm-12 max-width: 100%;*/
	.categories-img,
	.products-img {
		/*Bootstrap 宽度
		max-width: 100%;*/
		/* height:  calc(720px * 0.5 * 0.6);
		max-height:  calc(720px * 0.5 * 0.6); */
		
		height:  315px;
		max-height:  315px;
	}
	
  }
  
  @media (min-width: 992px) {
	/* .container {max-width: 960px;}, 其中包含左右padding 30px, width是930px */
	/* .col-lg {} */
	/*Bootstrap 宽度
	col-xl-4 col-lg-4 max-width: 33.333333%;THIS  930px * 33.333333% ≈ 310px, 其中包含左右padding 30px
	col-md-6 max-width: 50%; 
	col-sm-12 max-width: 100%;*/
	.categories-img,
	.products-img {
		/*Bootstrap 宽度
		max-width: 100%;*/
		/* height:  calc(960px * 0.33 * 0.6);
		max-height:  calc(960px * 0.33 * 0.6); */
		height:  280px;
		max-height:  280px;
	}
  }
  
  @media (min-width: 1200px) {
	/* .container {max-width: 1140px;}, 其中包含左右padding 30px, width是1110px */
	/* .col-xl {} */
	/*Bootstrap 宽度
	col-xl-4 col-lg-4 max-width: 33.333333%;THIS =  1110px * 33.333333% ≈ 370px, 其中包含左右padding 30px
	col-md-6 max-width: 50%; 
	col-sm-12 max-width: 100%;*/
	.categories-img,
	.products-img {
		/*Bootstrap 宽度
		max-width: 100%;*/
		height:  340px;
		max-height:  340px;
	}
		
  }
  
/* END: Hot Product Section
--------------------- */

